curl --request PUT \
--url https://api.absentify.com/api/v1/workspace \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"name": "<string>",
"global_date_format": "<string>",
"global_language": "<string>",
"global_time_format": "H12",
"global_timezone": "<string>",
"global_week_start": "<string>",
"global_name_format": "Microsoft_DisplayName",
"global_display_calendar_weeks": true,
"privacy_show_calendarview": true,
"privacy_show_otherdepartments": true,
"privacy_show_absences_in_past": true,
"display_logo": "ShowLogoAndName",
"allow_manager_past_request_cancellation": true,
"fiscal_year_start_month": 5
}'
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
Update the workspace settings
curl --request PUT \
--url https://api.absentify.com/api/v1/workspace \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"name": "<string>",
"global_date_format": "<string>",
"global_language": "<string>",
"global_time_format": "H12",
"global_timezone": "<string>",
"global_week_start": "<string>",
"global_name_format": "Microsoft_DisplayName",
"global_display_calendar_weeks": true,
"privacy_show_calendarview": true,
"privacy_show_otherdepartments": true,
"privacy_show_absences_in_past": true,
"display_logo": "ShowLogoAndName",
"allow_manager_past_request_cancellation": true,
"fiscal_year_start_month": 5
}'
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
Successful response
The response is of type string<uuid>
.
Was this page helpful?