Help Center/ Anti-DDoS Service/ API Reference/ CNAD Advanced APIs/ CNAD Advanced - Policy Management/ Unbind Policies from Protected Objects through Instances
Updated on 2026-09-10 GMT+08:00

Unbind Policies from Protected Objects through Instances

Function

Unbind policies from protected objects through instances.

Calling Method

For details, see Calling APIs.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions. For details about the required permissions, see Permissions Policies and Supported Actions.

URI

POST /v3/cnad/policies/{policy_id}/unbind

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

policy_id

Yes

String

Policy ID

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token.

It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.

Content-Type

Yes

String

Content-Type

Table 3 Request body parameters

Parameter

Mandatory

Type

Description

ip_list

Yes

Array of strings

Protected IP address list.

Response Parameters

Status code: 200

None

Example Requests

Unbind IP address 1.1.1.1 from the specified protection policy and remove it from the instance corresponding to the policy.

POST https://{endpoint}/v3/cnad/policies/{policy_id}/unbind

{
  "ip_list" : [ "1.1.1.1" ]
}

Example Responses

None

Status Codes

Status Code

Description

200

OK

401

Unauthorized

403

Forbidden

404

Not Found

Error Codes

See Error Codes.