Domain name for API request: teo.tencentcloudapi.com.
To stop billing for your EdgeOne plan, you can use this interface to terminate the billing plan.
Terminating a billing plan requires the following conditions:
1. The plan has expired (except for the Enterprise Edition Plan);
2. All sites under the plan have been either shut down or deleted.
The site status can be queried through the Query Site List interface.
A site can be deactivated by switching the site to a closed status through the Switch Site Status interface.
A site can be deleted by using the Delete Site interface.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DestroyPlan. |
Version | Yes | String | Common Params. The value used for this API: 2022-09-01. |
Region | No | String | Common Params. This parameter is not required. |
PlanId | Yes | String | Plan ID, in the format of edgeone-2wdo315m2y4c. |
Parameter Name | Type | Description |
---|---|---|
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Terminate the billing plan edgeone-2wdo315m2y4c.
POST / HTTP/1.1
Host: teo.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DestroyPlan
<Common request parameters>
{
"PlanId": "edgeone-2wdo315m2y4c"
}
{
"Response": {
"RequestId": "6a617014-efc9-45c6-ba9d-c87d70472461"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InvalidParameter.PlanNotFound | The plan doesn’t exist. |
OperationDenied.DisableZoneNotCompleted | The EdgeOne service of the site is being disabled. Please try again later. |
本页内容是否解决了您的问题?