---
title: "Add Blocked Referer"
method: POST
path: "/pullzone/{id}/addBlockedReferrer"
tags: ["Pull Zone"]
---

# Add Blocked Referer

`POST /pullzone/{id}/addBlockedReferrer`

## Request

- Base URL: `https://api.bunny.net`
- URL: `https://api.bunny.net/pullzone/{id}/addBlockedReferrer`
- Auth: API key in header `AccessKey`
- TypeScript: <https://skmtc.dev/bunny/apis/bunny-net-api/docs/pullzone/:id/addBlockedReferrer/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` integer, required

## Request body

- AddBlockedReferrerRequestModel
  - `Hostname` string, required: The hostname that will be added as a blocked referer

## Response `204`

The blocked referer was successfully added

## Other responses

- `400`: Failed to configure blocked referer
- `401`: The request authorization failed
- `404`: The Pull Zone with the requested ID was not found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/bunny/apis/bunny-net-api.md) - [All operations](https://skmtc.dev/bunny/apis/bunny-net-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/bunny-net-api/revisions/2b06f94dbfbf?raw)
