Accept Reserved Instance Transfer
Updated at:2025-10-20
This API is designed to process reserved instance transfers (applicable only to records in the transfer-in list).
Request structure
Plain Text
1POST /v{version}/instance/reserved/transfer/accept HTTP/1.1
2Host: bcc.bj.baidubce.com
3Authorization: authorization string
4{
5 "transferRecordId": transferRecordId,
6 "ehcClusterId": ehcClusterId
7}
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 |
| clientToken | String | No | Query | Idempotence Token, which is an ASCII string with a length not exceeding 64 bits. For details, see the [Link](#ClientToken Idempotency Support) |
| transferRecordId | String | Yes | requestBody parameters | IDs of reserved instance transfer record to be received |
| ehcClusterId | String | No | requestBody parameters | Optional for receiving a RoCE reserved instance; if empty, the default EHC cluster will be used |
Response headers
No special headers are required beyond the standard ones.
Response parameters
| Parameter name | Types | Description |
|---|---|---|
| - | void | No return |
Error codes
| Error code | Error description | HTTP status code | Chinese explanation |
|---|---|---|---|
| BadRequest | request is invalid | 400 | Invalid request parameters |
Request example
Plain Text
1POST http://bcc.bj.baidubce.com/v2/instance/reserved/transfer/accept
2Host: bcc.bj.baidubce.com
3Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2015-08-11T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de
4
5{
6 "transferRecordId": "t-tgQYk4Rx"
7}
Response example
Plain Text
1HTTP/1.1 200 OK
2Content-Type: application/json;charset=UTF-8
3Date: Wed, 08 Jul 2015 03:28:11 GMT
4x-bce-request-id: d8752367-38e8-45e4-b4c7-e53be3137ce5
5Server: BWS
