curl --request POST \
--url https://api.bunny.net/pullzone/{id}/addBlockedIp \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"BlockedIp": "<string>"
}
'{
"ErrorKey": "<string>",
"Field": "<string>",
"Message": "<string>"
}curl --request POST \
--url https://api.bunny.net/pullzone/{id}/addBlockedIp \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"BlockedIp": "<string>"
}
'{
"ErrorKey": "<string>",
"Field": "<string>",
"Message": "<string>"
}API Access Key authorization header
The ID of the requested Pull Zone
Request model
The IP that will be blocked from accessing the pull zone
1The blocked IP was successfuly added
Was this page helpful?