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

X-API-KEY
string
header
required

Body

application/json
name
string
Maximum length: 255
global_date_format
string
global_language
string
global_time_format
enum<string>
Available options:
H12,
H24
global_timezone
string
global_week_start
string
global_name_format
enum<string>
Available options:
Microsoft_DisplayName,
First,
Last,
FirstLast,
LastFirst
global_display_calendar_weeks
boolean
privacy_show_calendarview
boolean
privacy_show_otherdepartments
boolean
privacy_show_absences_in_past
boolean
Available options:
ShowLogoAndName,
ShowLogo
allow_manager_past_request_cancellation
boolean
fiscal_year_start_month
integer
Required range: 0 <= x <= 11

Response

200
application/json
Successful response

The response is of type string.