This API enables you to delete a fixed cost.
The syntax for calling this method is:
DELETE <Base_Url>/fixedCost/{fixedCostId}
A sample API call is as follows:
DELETE https://123.123.123.123/vCenter-CB/api/fixedCost/20
You must have Fixed Cost Delete privilege on the system
The API returns an XML file that indicates the status of the operation.
A sample response is provided here.
The API displays errors if inputs are incorrect or if the operation is unsuccessful for any reason. The following table explains the error code displayed by the API.
Error code |
Description |
VCB_ERR_INVALID_FIXED_COST_ID |
Fixed cost id is not valid. |