Aller au contenu

/api/workspaces/me/timesheet-settings (PUT)

PUT
/api/workspaces/me/timesheet-settings
curl --request PUT \
--url https://example.com/api/workspaces/me/timesheet-settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "timesheetValidationEnabled": true, "allowSelfValidation": true }'
Media type application/json
object
timesheetValidationEnabled
boolean
allowSelfValidation
boolean
Example generated
{
"timesheetValidationEnabled": true,
"allowSelfValidation": true
}

OK