English
cURL
curl --request PUT \ --url https://api.absentify.com/api/v1/departments/{id} \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "default_department_allowances": [ { "id": "<string>", "value": 123 } ], "custom_id": "<string>", "name": "<string>", "maximum_absent": 0, "approval_process": "Linear_all_have_to_agree", "manager_member": [ { "member_id": "<string>", "predecessor_manager_id": "<string>" } ] } '
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
Update a department
Show child attributes
-9007199254740991 <= x <= 9007199254740991
Linear_all_have_to_agree
Linear_one_has_to_agree
Parallel_all_have_to_agree
Parallel_one_has_to_agree
Successful response
The response is of type string<uuid>.
string<uuid>
Was this page helpful?