REST API - delete

vcenter resource pool: delete

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


HTTP request

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

Path Parameters

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


HTTP Status Code: 200



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.