TBSP renew
Updated at:2025-10-16
Description
- Perform a renewal operation on the specified TBSP to extend its expiration period.
Request structure
Java
1PUT /v{version}/tbsp?{id}?{action}&clientToken={clientToken} HTTP/1.1
2Host: eip.bj.baidubce.com
3Authorization: authorization string
4{
5 "renewTime": "renewTime",
6 "renewTimeUnit": "renewTimeUnit"
7}
Request parameters
| Parameter name | Types | Whether required | Parameter location | Description |
|---|---|---|---|---|
| version | String | Yes | URL parameter | API version number, current value is 1. |
| clientToken | String | Yes | Query | Idempotence token, for details, refer to [Idempotence](EIP/API Reference/General Description.md#Idempotence) |
| id | String | Yes | Query | ID of the TBSP |
| action | String | Yes | Query | Parameter value for this API: purchaseReserved |
| renewTime | Int | Yes | Body | Renewal period (by months: 1-9; by years: 1-3) |
| renewTimeUnit | String | Yes | Body | Renewal period unit (DAY/MONTH/YEAR) |
Response headers
No special headers are required beyond the standard ones.
Response parameters
There are no special response parameters
Request example
Java
1PUT /v1/tbsp/ipDdos-82562e17?purchaseReserved&clientToken=be31b98c-5e41-4838-9830-9be700de5a20 HTTP/1.1
2Host: eip.bj.baidubce.com
3Authorization:bce-auth-v1/a43eea003308400587496785f7f5d9ee/2021-11-06T12:28:04Z/3600/host;x-bce-date/25ec3d4baba54ad7397cb31c96cb5e364088ff79f9b853ffb8dc6c11ebcdcf16
4{
5 "renewTime": 1,
6 "renewTimeUnit": "MONTH"
7}
Response example
Java
1HTTP/1.1 200 OK
2Server: nginx/1.19.0
3Date: Sat, 06 Nov 2021 12:28:05 GMT
4Content-Type: application/json; charset=UTF-8
5X-Bce-Request-Id: 8e2e80f5-a198-46c4-92e3-3fbe42917888
