Removes IP addresses from an Anti-DDoS Origin Enterprise instance to remove protection.

Note Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description 
Action String Yes DeleteIp

The operation that you want to perform. Set the value to DeleteIp.

InstanceId String Yes ddosbgp-cn-xxx

The ID of the Anti-DDoS Origin Enterprise instance.

IpList String Yes [{"ip":"1.1.1.1"},{"ip":"2.2.2.2"}]

The list of IP addresses that you want to remove. You can specify multiple IP addresses.

ResourceGroupId String No xx

The ID of the resource group.

ResourceRegionId String No cn-hangzhou

The ID of the region where the resource group resides.

Response parameters

Parameter Type Example Description 
RequestId String C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DeleteIp
&InstanceId=ddosbgp-cn-xxx
&IpList=1.1.1.1,2.2.2.2
& <Common request parameters>

Sample success responses

XML format

<DeleteIpResponse>
      <RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>
</DeleteIpResponse>

JSON format

{
	"RequestId":"4C467B38-3910-447D-87BC-AC049166F216"
}

Error codes

For a list of error codes, visit the API Error Center.