Dedicated Cluster Renewal
Updated at:2025-10-20
This API renews a specified dedicated cluster by extending its expiration date.
Request structure
Plain Text
1PUT /v2/volume/cluster/{clusterId}?{action} HTTP/1.1
2Host: bcc.bj.baidubce.com
3Authorization: authorization string
4
5{
6 "billing":{
7 "reservation":{
8 "reservationLength": reservationLength,
9 "reservationTimeUnit": reservationTimeUnit
10 }
11 }
12}
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 |
| clusterId | String | Yes | URL parameter | Disk ID |
| action | String | Yes | Query | Operation executed on the dedicated cluster, current value: purchaseReserved |
| billing | [Billing](BCC/API Reference/Appendix.md#Billing) | Yes | RequestBody | Order information |
Response headers
No special headers are required beyond the standard ones.
Response parameters
There are no special response parameters
Error codes
| Error code | Error description | HTTP status code | Chinese explanation |
|---|---|---|---|
| Cluster.OrderParamInvalid | request parameter cannot be empty. | 400 | Request parameters cannot be empty |
| BadRequest | request parameter error. | 400 | Invalid request parameters |
Request example
Plain Text
1PUT /v2/volume/cluster/DC-g4MhBMut?purchaseReserved HTTP/1.1
2Host: bcc.bj.baidubce.com
3Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882****
4
5{
6 "billing":{
7 "reservation":{
8 "reservationLength":1,
9 "reservationTimeUnit":"Month"
10 }
11 }
12}
Response example
Plain Text
1HTTP/1.1 200 OK
2x-bce-request-id: c24591e8-85f6-4e21-9099-0aa1614abc49
3Date: Mar, 21 Dec 2023 06:42:19 GMT
4Content-Type: application/json;charset=UTF-8
5Server: BWS
