v1

latestOpenAPI 3.1.02026-07-14801408.6 KB

/departments/:id

Deletes a department. Required scope: w_departments. Accessible with all token types.

delete/departments/{id}

Path parameters

subdomainstring required

The account subdomain

idstring required

The department id that you want to delete

Query parameters

forcestring

If not present or different than value DELETE then first will make a check to see if there are any affected resources with this department and then will return error with the affected resources, if any were found. When passed value DELETE then will bypass those affected resources and will proceed to the deletion anyway

Response

204