[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Delete Org

Description

Delete the specified org.

Request

Request

URL

URL


delete
https://{api_host}/cloudapi/1.0.0/orgs/{orgUrn}
Copy

Path Parameters

Path Parameters

string
orgUrn Required

orgUrn


Query Parameters

Query Parameters

boolean
force Optional

Value “true” means to forcefully delete the object that contains other objects even if those objects are in a state that does not allow removal. The default is “false”; therefore, objects are not removed if they are not in a state that normally allows removal. Force also implies recursive delete where other contained objects are removed. Errors may be ignored. Invalid value (not true or false) are ignored.


boolean
recursive Optional

Value “true” means to remove an object that contains other objects as long as those objects are in a state that normally allows removal. The default is “false”, which means that an exception will be thrown if any of those objects are in a state that does not allow removal. Invalid value (not true or false) are ignored.


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

202 Accepted

The request have been accepted and the task to monitor the request is in the Location header.

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X DELETE https://{api_host}/cloudapi/1.0.0/orgs/{orgUrn}


[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Availability
Added in 36.0
Org Operations
Feedback

Was this page helpful?