Delete Organizational Unit
Delete the specified organizational unit.
Path Parameters
- id string required
Delete the organizational unit with the specified ID.
Query Parameters
- embed string
Embeds the details of each associated resource. Set the parameter to one of the following embeddable links to include additional details associated with the resource.
For more information about embedded links, refer to the Embedding Referenced Resources section of this guide.Embeddable Link Description read-task Embeds the associated task in the response. For example, ?embed=read-task
Responses
- 202
- default
Accepted
- application/api.clumio.organizational-units=v2+json
- Schema
- Example (from schema)
Schema
_embedded object
_links object
- task_id string
The Clumio-assigned ID of the task associated with this organizational unit. The progress of the task can be monitored using the GET /tasks/{task_id} endpoint.
{
"_embedded": {},
"_links": {
"_self": {
"href": "string",
"templated": true,
"type": "string"
},
"read-task": {
"href": "string",
"templated": true,
"type": "string"
}
},
"task_id": "string"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}
DELETE /organizational-units/:id
Authorization
Request
Request
curl -L -X DELETE 'https://us-west-2.api.clumio.com/organizational-units/:id' \
-H 'Accept: application/api.clumio.organizational-units=v2+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X DELETE 'https://us-west-2.api.clumio.com/organizational-units/:id' \
-H 'Accept: application/api.clumio.organizational-units=v2+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X DELETE 'https://us-west-2.api.clumio.com/organizational-units/:id' \
-H 'Accept: application/api.clumio.organizational-units=v2+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X DELETE 'https://us-west-2.api.clumio.com/organizational-units/:id' \
-H 'Accept: application/api.clumio.organizational-units=v2+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X DELETE 'https://us-west-2.api.clumio.com/organizational-units/:id' \
-H 'Accept: application/api.clumio.organizational-units=v2+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X DELETE 'https://us-west-2.api.clumio.com/organizational-units/:id' \
-H 'Accept: application/api.clumio.organizational-units=v2+json' \
-H 'Authorization: Bearer <TOKEN>'
curl -L -X DELETE 'https://us-west-2.api.clumio.com/organizational-units/:id' \
-H 'Accept: application/api.clumio.organizational-units=v2+json' \
-H 'Authorization: Bearer <TOKEN>'