REST API - delete

vcenter resource pool: delete

Deletes a resource pool. This operation was added in vSphere API 7.0.0.0.

Request:

HTTP request

DELETE https://{server}/rest/vcenter/resource-pool/{resource_pool}

Path Parameters

Name Type Description
Required
resource_pool string Identifier of the resource pool to be deleted.

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
500 error If the system reports an error while responding to the request.
404 not_found If the resource pool is not found.
503 service_unavailable If the system is unable to communicate with a service to complete the request.
401 unauthenticated If the user can not be authenticated.
403 unauthorized If the user doesn't have the required privileges.
400 unsupported If the resource pool is a root resource pool.