Delete a department (async, cascades)
Header Parameters
Authorizationstring
Path Parameters
departmentIdstring Required
Stable department ID. Unchanged by rename or reparent.
Response
202
Object
Delete queued for async processing. Poll
GET /v2/admin/jobs/{jobId} using data.id.
Response Attributes
dataobject Required
Show child attributes
401
Object
Access token is missing or invalid.
Response Attributes
errorsarray Required
Min items
1
Show child attributes
403
Object
Authenticated but not permitted — caller is not an admin/super-admin, or the LaunchDarkly flag public-acl-api-ekp-55221 is off.
Response Attributes
errorsarray Required
Min items
1
Show child attributes
500
Object
Unexpected server error.
Response Attributes
errorsarray Required
Min items
1
Show child attributes
Was this section helpful?
Response
Was this section helpful?