Setting a Deduction Date for Auto-Renewal of Yearly/Monthly Resources and a Same Expiration Date for Renewed Resources
Function
This API can be used to set a deduction date for auto-renewal of yearly/monthly resources and a same expiration date for renewed resources.

- If you set a deduction fee date for auto-renewal, the system will deduct the fee at 03:00 (GMT+08:00). For details, see Deduction Date for Auto-Renewal.
- If you set a renewal date for a yearly/monthly subscription, the subscription will expire on the fixed date of a month. For details, see Renewal Date.
Constraints
This API can only be invoked using the customer AK/SK or token.
Debugging
You can debug this API in API Explorer. Automatic authentication is supported. API Explorer can automatically generate and debug example SDK code.
URI
POST /v2/orders/subscriptions/resources/renew/config
Request
Request Parameters
Parameter |
Mandatory |
Type |
Value Range |
Description |
---|---|---|---|---|
config_name |
Yes |
String |
- |
Attribute of resource renewal setting.
|
config_value |
Yes |
String |
1 to 64 |
Attribute value of resource renewal setting.
|
POST https://bss-intl.myhuaweicloud.com/v2/orders/subscriptions/resources/renew/config HTTP/1.1 Content-Type: application/json X-Auth-Token: MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ { "config_name": "DEDUCTION_DATE", "config_value": "7" }
Response
Response parameters
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. For details, see Returned Values. |
error_msg |
String |
Error description. |
Example Response
HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8 Content-Length: length Date: response time { "error_code": "CBC.0000", "error_msg": "success" }
Returned Values

- 4xx: This class of HTTP status code is intended for situations in which the error seems to have been caused by the client, for example, the request contains bad syntax or incorrect parameters. You must ensure the request is correct.
- 5xx: This class of HTTP status code is intended for cases in which the Huawei Cloud server is aware that it has encountered an error or is otherwise incapable of performing the request. In this case, contact Huawei Cloud customer service.
HTTP Status Code |
Error Code |
Description |
---|---|---|
400 |
CBC.0100 |
Incorrect parameter. |
403 |
CBC.0151 |
Access denied. |
500 |
CBC.0999 |
Other errors. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot