This API enables you to delete a cost model with the specified ID.
The syntax for calling this method is:
DELETE <Base_Url>/costModel/{costModelId}
A sample API call is as follows:
DELETE https://123.123.123.123/vCenter-CB/api/costModel/999
User must have Cost Model Delete privilege on the system
This API does not require any request parameters.
The API returns a response XML that indicates the status of the operation.
The following table explains the error codes displayed by the API.
Error Code |
Description |
VCB_ERR_INVALID_COST_MODEL_ID |
Cost model ID is invalid. |