This API enables you to delete a computing resource with the specified ID.
The syntax for calling this method is:
DELETE <Base_Url>/computingResource/{computingResourceId}
A sample API call is as follows:
DELETE https://123.123.123.123/vCenter-CB/api/computingResource/15
You must have the Super User role.
This API does not require any request parameters.
The API returns a response XML that indicates the status of the operation.
A sample response is provided here.
The following table explains the error codes displayed by the API.
Error Code |
Description |
VCB_ERR_INVALID_COMPUTING_RESOURCE_ID |
The computing resource with the given id does not exist. System computing resources cannot be deleted. |