Skip to main content
POST
/
pullzone
/
{id}
/
addBlockedReferrer
Add Blocked Referer
curl --request POST \
  --url https://api.bunny.net/pullzone/{id}/addBlockedReferrer \
  --header 'AccessKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "Hostname": "<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 referer hostnames

Hostname
string | null
required

The hostname that will be added as a blocked referer

Response

The blocked referer was successfuly added