cURL
curl --request DELETE \ --url https://api.absentify.com/api/v1/departments/{id} \ --header 'X-API-KEY: <api-key>'
null
Delete a department
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Successful response
Was this page helpful?