This is an archive version of the document. To get the most up-to-date information, see the current version.

Delete a vCD Resource

You can unassign a vCloud Director Organization with specified vDC ID from a company by deleting a vCloud Director resource.

Request

To delete a vCloud Director resource, send the DELETE HTTPS request to the URL of the /tenants/{ID}/vcdResources/{dataCenterUid} resource.

HTTP Request

DELETE https://<hostname>:1281/v2/tenants/{ID}/vcdResources/{dataCenterUid}

Request Headers

The request header must contain the authorization token.

Response

The server returns the following response to the client.

Response Code

A successfully completed operation returns response code 200 OK.

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTP headers.

Header

Description

Content-length

The length of the response body.

Content-type

The media type and syntax of the request body message: application/json; charset=utf-8

Example Delete a vCD Resource

The following example deletes a vCloud Director resource with Organization vDC ID f178f57a-a997-4245-8bfc-ef0902cd4f9a from a company with ID 1.