Deactivates a black hole for the IP address of a protection target.

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


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 DeleteBlackhole

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

InstanceId String Yes ddosbgp-cn-xxx

The ID of the Anti-DDoS Origin Enterprise instance.

Ip String Yes

The IP address for which you want to deactivate a black hole.

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.


Sample requests

http(s)://[Endpoint]/? Action=DeleteBlackhole
& <Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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