Delete IP Block
Delete an IP from a list of blocked IPs.
URL
/api/v1/nacl/[type]
HTTP Method
DELETE
URL Parameters
Parameter |
Required |
Type |
Description |
---|---|---|---|
type |
true |
string |
Specifies the IPSet to delete the block from: dos, policy, or permanent |
Response Parameters
"ok"
Example: Delete IP block
Request
DELETE
/api/v1/nacl/permanent
cURL
$ curl -v -k -u api_ninja:ninja_password -XDELETE -d '"150.1.2.4/32"' \
https://172.31.1.172:4849/api/v1/nacl/permanent
Response
"ok"