Delete Billing Policy

This API enables you to delete a billing policy. For a list of supported billing policy IDs, see Appendix.

Syntax

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

User Privilege

You must have a role with Delete privilege on the billing policy.

Request Body Parameters

This API does not need a request XML.

API Response

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

A sample response is provided here.

Error Response

Error Code

Description

VCB_ERR_INVALID_BILLING_POLICY_ID

The specified billing policy ID is invalid.