Endpoint: /sites/{siteId}/ipAutoBanList/{ipAutoBanId}
Remove a specific IP from the Auto-banned IP list
-
DELETE
Method & URL
DELETE https://[server URL]:[port]/admin/v2/sites/{siteId}/ipAccessList{ipAutoBanId)
DELETE Body Sample
Copy
@banId = {{banList.response.body.$.data[0].id}}
### GET Autoban List###
DELETE https://{{host}}/admin/v2/sites/{{Siteid}}/ipAutoBanList/{{banId}} HTTP/1.1
Authorization: EFTAdminAuthToken {{AuthToken}}
###
DELETE Response Body Sample
Copy
HTTP/1.1 204 No Content
Date: Thu, 04 Aug 2022 19:43:37 GMT
Content-Length: 0
Cache-Control: no-cache, no-store, must-revalidate
Expires: -1
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval' data:;
Referrer-Policy: no-referrer
DELETE PowerShell Sample
Copy
$banID = $banList.data[0].id
$banList = Invoke-RestMethod -Uri "$baseURL/v2/sites/$siteID/IpAutoBanList/$banID"
-Method 'DELETE' -Headers $authHeader
Write-Output $banList | ConvertTo-Json