Update the peering connection release protection switch
Updated at:2025-10-16
Description
Adjust the release protection switch for the peering connection.
Request structure
Plain Text
1PUT /v{version}/peerconn/{peerConnId}/deleteProtect?clientToken={clientToken} HTTP/1.1
2Host: bcc.bj.baidubce.com
3Authorization: authorization string
4{
5 "deleteProtect" : deleteProtect
6}
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 |
| deleteProtect | Boolean | Yes | RequestBody | Whether to enable release protection |
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/deleteProtect?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 "deleteProtect" : true
6}
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
