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