Delete sub-organization
DELETE/bv/org/v1/sub-orgs/:id
Removes a specific sub-organization within the main organization using the provided access token.
Required field(s):
id
- Returns a
404/NotFounderror if the requested resource is not found. - Returns a
400/BadRequesterror if the request body is invalid. - Returns a
400/BadRequestwithERROR_REASON_HAS_APPENDED_SUB_ORGSerror if attempting to remove a sub-organization that already has appended organizations.
Request
Responses
- 200
- 400
- 401
- 403
- 500
- default
A successful response.
A unauthenticated response.
The header authorization was missing or unidentified.
A forbidden response.
It means that the provided authorization did not have enough permission to access the resource or the API.
A server error response. There are more HTTP status code mappings listed on here.
An unexpected error response.