Delete automatic renewal rules
Updated at:2025-10-20
This API deletes auto-renewal rules.
- The auto-renewal rule for the prepaid CDS disk linked to the instance will also be removed.
Request structure
Plain Text
1 POST /v{version}/instance/batchDeleteAutoRenewRules HTTP/1.1
2 Host: bcc.bj.baidubce.com
3 Authorization: authorization string
4
5 {
6 "renewEip": renewEip,
7 "instanceId": instanceId
8 }
Request headers
There are no special headers required beyond the common headers.
Request parameters
| Parameter name | Types | Whether required | Parameter location | Description |
|---|---|---|---|---|
| version | String | Yes | URL parameter | API version number |
| instanceId | String | Yes | RequestBody | Instance ID |
| renewEip | boolean | No | RequestBody | Specifies whether to disable auto-renewal for EIP. Default: true. |
Response headers
No special headers are required beyond the standard ones.
Request example
Plain Text
1POST /v2/instance/batchDeleteAutoRenewRules HTTP/1.1
2Host: bcc.bj.baidubce.com
3ContentType: application/json
4Authorization: bce-auth-v1/f81d3b34e48048f***
5{
6 "renewEip": false,
7 "instanceId": "i-RrgyXFh4"
8}
9
Response example
Plain Text
1HTTP/1.1 200 OK
2x-bce-request-id: bd18c3f7-f643-4a17-b603-bd1a516d2c14
3Date: Tue, 28 Mar 2023 08:06:35 GMT
4Content-Type: application/json;charset=UTF-8
5Server: BWS
