Delete a vCD Resource

In this article

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


    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.


    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.




    The length of the response body.


    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.


    DELETE https://localhost:1281/v2/tenants/1/vcdResources/f178f57a-a997-4245-8bfc-ef0902cd4f9a


    Request Header:

    Authorization: Bearer <Access-Token>


    Response Code:

    200 Success


    Response Body:

    "vCloud Director resources have been deleted from the tenant."