/departments/:id
Deletes a department. Required scope: w_departments. Accessible with all token types.
delete/departments/{id}
Request
- Base URLhttps://subdomain.workable.com/spi/v3
- URLhttps://subdomain.workable.com/spi/v3/departments/{id}
- AuthAPI key in header Authorization
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
Changes
No recorded changes to this operation across all 2 revisions of this API.