Deletes a bandwidth package.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
CenBandwidthPackageId String  Yes cenbwp-4c2zaavbvh5f42****

The ID of the bandwidth package to be deleted.

Action String No DeleteCenBandwidthPackage

Optional. The name of this action. Value: DeleteCenBandwidthPackage

Response parameters

Parameter Type Example value Description
RequestId String C0245BEF-52AC-44A8-A776-EF96FD26A5CA

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=DeleteCenBandwidthPackage
&CenBandwidthPackageId=cenbwp-4c2zaavbvh5f42****
&<CommonParameters>

Response examples

XML format

<DeleteCenBandwidthPackageResponse>
       <RequestId>13526224-5780-4426-8BDF-BC8B08700F22</RequestId>
</DeleteCenBandwidthPackageResponse>

JSON format

{
	"RequestId":"C0245BEF-52AC-44A8-A776-EF96FD26A5CA"
}

Errors

HTTP status code Error code Error message Description
403 Forbidden.Release Forbidden to release a PREPAY bandwidth instance within validity period. Deletion of Subscription bandwidth packages is not allowed.

For a list of error codes, visit the API Error Center.