---
title: "Reset Token Key"
method: POST
path: "/pullzone/{id}/resetSecurityKey"
tags: ["Pull Zone"]
---

# Reset Token Key

`POST /pullzone/{id}/resetSecurityKey`

## Request

- Base URL: `https://api.bunny.net`
- URL: `https://api.bunny.net/pullzone/{id}/resetSecurityKey`
- Auth: one of:
  - API key in header `AccessKey`
  - API key in header `Authorization`

## Path parameters

- `id` integer, required

## Request body

- ResetPullZoneSecurityKeyModel
  - `SecurityKey` string, nullable

## Response `204`

The key was successfully reset

## Other responses

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

## Changes

- **2026-10-27** `2096a6606d8d`: 2 info
  - the security scope `ScopedApiKey` was added to the endpoint's security scheme `AccessKey`
  - the security scope `ScopedApiKey` was added to the endpoint's security scheme `bearer`

[Operation history](https://skmtc.dev/bunny/apis/bunny-net-api/changes/pullzone/:id/resetSecurityKey/post.md)

---

[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)
