[go: up one dir, main page]

API Reference

/departments/:id

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

Path Params
string
required

The account subdomain

string
required

The department id that you want to delete

Query Params
string

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

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json