Update the local API name and remarks for peering connections
Updated at:2025-10-16
Description
Update the name and remarks of the local API for peering connections.
Request structure
Plain Text
1PUT /v{version}/peerconn/{peerConnId}?clientToken={clientToken} HTTP/1.1
2Host: bcc.bj.baidubce.com
3Authorization: authorization string
4{
5 "localIfId" : localIfId,
6 "description": description,
7 "localIfName": localIfName
8}
Request parameters
| Parameter name | Types | Whether required | Parameter location | Description |
|---|---|---|---|---|
| version | String | Yes | URL parameter | API version number, current value is 1. |
| peerConnId | String | Yes | URL parameter | ID of peering connection |
| localIfId | String | Yes | Request Body parameters | The API IDs of the peering connections cannot be modified |
| description | String | No | Request Body parameters | Remarks |
| localIfName | String | No | Request Body parameters | Local API name |
Response headers
No additional headers beyond standard ones.
Response parameters
No special response parameters are available.
Request example
Plain Text
1PUT /v1/peerconn/peerconn-9td54fmx143e?clientToken=be31b98c-5e41-4838-9d30-9be700de5a20 HTTP/1.1
2host: bcc.bj.baidubce.com
3Authorization: bce-auth-v1/a512b86f810f11e8a106475a8496ca04/2018-07-06T11:29:59Z/3600/host;x-bce-account;x-bce-client-ip;x-bce-date;x-bce-request-id;x-bce-security-token/b7a3b5982425be943ec93591f4ef4607c82f257693fab476bd26a45e9acb4fb1
4
5{
6 "localIfId" : "qpif-ken2yc9j8x56",
7 "description" : "peer_diff_accounts",
8 "localIfName":"test"
9}
Response example
Plain Text
1HTTP/1.1 200 OK
2x-bce-request-id: d758dd78-aa10-4bcb-9679-d258aac94491
3Date: Fri, 06 Jul 2018 11:29:59 GMT
4Content-Type: application/json;charset=UTF-8
5Server: BWS
