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.
Debugging
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 | 1.1.1.1 |
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. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DeleteBlackhole
&InstanceId=ddosbgp-cn-xxx
&Ip=1.1.1.1
& <Common request parameters>
Sample success responses
XML
format
<DeleteBlackholeResponse>
<RequestId>C33EB3D5-AF96-43CA-9C7E-37A81BC06A1E</RequestId>
</DeleteBlackholeResponse>
JSON
format
{
"RequestId":"4C467B38-3910-447D-87BC-AC049166F216"
}
Error codes
For a list of error codes, visit the API Error Center.