Delete Fixed Cost

This API enables you to delete a fixed cost.

Syntax

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

User Privilege

You must have Fixed Cost Delete privilege on the system

Response Type

The API returns an XML file that indicates the status of the operation.

A sample response is provided here.

Error Response

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.