Close Protection IP Cleaning
Updated at:2025-10-16
Description
- Disable the cleaning function for the specified protected IPs in the TBSP.
Request structure
Plain Text
1PUT /v{version}/tbsp/{id}/ipClean?{action}&clientToken={clientToken} HTTP/1.1
2Host: eip.bj.baidubce.com
3Authorization: authorization string
4{
5 "ip": ip,
6 "turnOffDuration": turnOffDuration
7}
Request headers
No additional headers required beyond standard ones.
Request parameters
| Parameter name | Types | Required or not | Parameter location | Description |
|---|---|---|---|---|
| version | String | Yes | URL parameter | API version number, current value is 1. |
| id | String | Yes | URL parameter | ID of the TBSP |
| clientToken | String | Yes | Query | Idempotence token, for details, refer to [Idempotence](EIP/API Reference/General Description.md#Idempotence) |
| action | String | Yes | Query | The value of this parameter is taken as turnOffClean in this API |
| ip | String | Yes | RequestBody | IP address of TBSP protection object |
| turnOffDuration | Int | Yes | RequestBody | Duration for disabling cleaning on protected object IPs (in minutes), minimum 30, maximum 7,200 |
Response headers
No special headers are required beyond the standard ones.
Response parameters
No special response parameters are available.
Request example
Java
1PUT /v1/tbsp/ipDdos-f294b1c9/ipClean?turnOffClean&clientToken=be31b98c-5e41-4838-9830-9be700de5a20 HTTP/1.1
2Host: eip.bj.baidubce.com
3Authorization:bce-auth-v1/a43eea003308400587496785f7f5d9ee/2022-04-28T11:06:00Z/3600/host;x-bce-date/47ec3d4baba54ad7397cb31c96cb5e364088ff79f9b853ffb8dc6c11ebcdad98
4{
5 "ip": "100.88.15.226",
6 "turnOffDuration": 30
7}
Response example
Java
1HTTP/1.1 200 OK
2Server: nginx/1.19.0
3Date: Thu, 28 Apr 2022 11:06:00 GMT
4Content-Type: application/json; charset=UTF-8
5X-Bce-Request-Id: 89c6324a-7b10-4736-8872-4c29be8ef695
