This API enables you to delete a billing policy. For a list of supported billing policy IDs, see Appendix.
The syntax for calling this method is:
DELETE <Base_Url>/billingPolicy/{billingPolicyId}
A sample API call is as follows:
DELETE https://123.123.123.123/vCenter-CB/api/billingPolicy/5
You must have a role with Delete privilege on the billing policy.
This API does not need a request XML.
The API returns an XML that indicates the status of the operation.
A sample response is provided here.
Error Code |
Description |
VCB_ERR_INVALID_BILLING_POLICY_ID |
The specified billing policy ID is invalid. |