Skip to main content
POST
/
pullzone
/
{id}
/
addBlockedIp
Add Blocked IP
curl --request POST \
  --url https://api.bunny.net/pullzone/{id}/addBlockedIp \
  --header 'AccessKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "BlockedIp": "<string>"
}
'

Authorizations

AccessKey
string
header
required

API Access Key authorization header

Path Parameters

id
integer<int64>
required

The ID of the requested Pull Zone

Body

The model used for adding new blocked Ips

BlockedIp
string | null
required

The IP that will be blocked from accessing the pull zone

Response

The blocked IP was successfuly added