Delete Namespace
Deletes the specified namespace
Request
URI
DELETE
https://{api_host}/cloudapi/vcf/namespaces/{namespaceUrn}
COPY
Path Parameters
string
namespaceUrn
Required
namespaceUrn
Query Parameters
boolean
detachOnly
Optional
This parameter in delete request of a namespace indicates whether the deletion just needs to remove namespace from Tenant Manager and preserve it in vCenter (detach-only=true), or completely delete it. The parameter is optional and if not provided, the delete request deletes the namespace from both Tenant Manager and vCenter.
Responses
202
The request have been accepted and the task to monitor the request is in the Location header.
Operation doesn't return any data structure
Code Samples
COPY
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/cloudapi/vcf/namespaces/{namespaceUrn}
Availability
Added in 40.0
On This Page
Namespaces Operations
GET
Get Namespaces
POST
Create Namespace
POST
Import Namespace
GET
Get Namespace
PUT
Update Namespace
DELETE
Delete Namespace