curl --request POST \
--url https://api.bunny.net/videolibrary/{id}/removeAllowedReferrer \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"Hostname": "<string>"
}
'{
"ErrorKey": "<string>",
"Field": "<string>",
"Message": "<string>"
}curl --request POST \
--url https://api.bunny.net/videolibrary/{id}/removeAllowedReferrer \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"Hostname": "<string>"
}
'{
"ErrorKey": "<string>",
"Field": "<string>",
"Message": "<string>"
}API Access Key authorization header
The ID of the requested Video Library
Request model
The hostname that will be added as a blocked referer
1The allowed referer was successfuly removed
Was this page helpful?