Delete Computing Resource

This API enables you to delete a computing resource with the specified ID.

Syntax

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

User Privilege Required

You must have the Super User role.

Request Body Parameters

This API does not require any request parameters.

API Response

The API returns a response XML that indicates the status of the operation.

A sample response is provided here.

Error Response

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.