delete https://{subdomain}.workable.com/spi/v3/departments/
Deletes a department. Required scope: w_departments
. Accessible with all token types.
Results
Calling the DELETE /departments/:id
endpoint will delete the given department. If the force
param is 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 a 409 Conflict
error with the according affected resources if any found. When passed value DELETE
then will bypass those affected resources and will proceed to the deletion anyway. In successful deletion the the response will be a 204 No Content
.