Delete Namespace

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.


Authentication
This operation uses the following authentication methods.
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}