curl --request POST \
--url https://api.bunny.net/pullzone/{id}/addBlockedReferrer \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"Hostname": "<string>"
}
'curl --request POST \
--url https://api.bunny.net/pullzone/{id}/addBlockedReferrer \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"Hostname": "<string>"
}
'API Access Key authorization header
The ID of the requested Pull Zone
The model used for adding new blocked referer hostnames
The hostname that will be added as a blocked referer
The blocked referer was successfuly added
Was this page helpful?