Workspace
Update the workspace settings
Members
- GETGet all members
- POSTInvite a member
- GETRead a member by id
- PUTUpdate a member
- DELDelete a member
- GETRead a member by Microsoft user id
- GETRead a member by email
- GETRead a member by custom_id
- PUTUpdate approvers for a member
- PUTUpdate a member's allowance
- POSTAdd a member's schedule
- PUTUpdate a member's schedule
Departments
Leave types
Public holidays
Workspace
Update the workspace settings
Update the workspace settings
PUT
/
workspace
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"
Authorizations
Body
application/json
Response
200
application/json
Successful response
The response is of type string
.
Was this page helpful?
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"