Delete Resource Pool
If vSphere APIs begin with /rest (vs /api), any maps are consumed/returned instead as arrays of objects, each containing a key and a value property field.
Deletes a resource pool.
Request
URLURL
https://{api_host}/rest/vcenter/resource-pool/{resource_pool}
Parameters
Parameters
string
resource_pool
Required
Identifier of the resource pool for which information should be retrieved.
The parameter must be an identifier for the resource type: ResourcePool.
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
Example: b00db39f948d13ea1e59b4d6fce56389
cURL Command
curl -X DELETE -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/rest/vcenter/resource-pool/{resource_pool}
Errors
404
com.vmware.vapi.std.errors.error : If the system reports an error while responding to the request. | com.vmware.vapi.std.errors.not_found : If the resource pool is not found.
405
com.vmware.vapi.std.errors.unsupported : If the resource pool is a root resource pool.
503
com.vmware.vapi.std.errors.service_unavailable : If the system is unable to communicate with a service to complete the request.
401
com.vmware.vapi.std.errors.unauthenticated : If the user can not be authenticated. | com.vmware.vapi.std.errors.unauthorized : If the user doesn't have the required privileges.
On This Page
Resource Pool Operations
post
patch
delete