---
title: "Add Allowed Referer"
method: POST
path: "/videolibrary/{id}/addAllowedReferrer"
tags: ["Stream Video Library"]
---

# Add Allowed Referer

`POST /videolibrary/{id}/addAllowedReferrer`

## Path parameters

- `id` integer, required

## Request body

- AddAllowedReferrerRequestModel
  - `Hostname` string, required — The hostname that will be added as an allowed referer

## Response `200`

The allowed referer was successfully added

## Other responses

- `400` — Failed to add allowed referer
- `401` — The request authorization failed
- `404` — The Video Library with the requested ID was not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/bunny/apis/bunny-net-cdn-logging.md) · [All operations](https://skmtc.net/bunny/apis/bunny-net-cdn-logging/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bunny/bunny-net-cdn-logging/revisions/9e622620664b/schema)
