VMware Cloud Director API - DELETE-Organization
DELETE /admin/org/{id}
- Operation:
- DELETE /admin/org/{id}
- Description:
-
Delete an organization.
Before you can delete an organization, you must disable it and then delete or change ownership of all objects that the organization's users own.
- Since:
- 0.9
- Deprecated:
- 36.0
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Query parameters
-
- Parameter
- force
- Documentation
- pass force=true as query parameter along with recursive=true to remove an organization or VDC and any objects it contains, regardless of their state.
- Parameter
- recursive
- Documentation
- pass recursive=true as query parameter to remove an organization or VDC and any objects it contains that are in a state that normally allows removal.
- Output parameters
-
- Produce media type(s):
-
application/vnd.vmware.vcloud.task+xml
application/vnd.vmware.vcloud.task+json
- Output type:
- TaskType
- Examples
-
- Request
-
HTTP 1.1
DELETE /api/admin/org/7cc8d565-1203-49bd-b50c-24e0acbaeb5a
Headers:
x-vcloud-authorization: FQMWZgFq5mhMRSpt2ecxnsAXTxRpxdbZ/z2u6uwEH+w=
Body:
- Response
-
HTTP/1.1 204 No Content
Headers:
Content-Type: application/*+xml;version=5.5
Vary: Accept-Encoding
Body: