---
title: "Unblock Key"
method: POST
path: "/key/unblock"
tags: ["key management"]
---

# Unblock Key

`POST /key/unblock`

Unblock a Virtual key to allow it to make requests again.

Parameters:
- key: str - The key to unblock. Can be either the unhashed key (sk-...) or the hashed key value

Example:
```bash
curl --location 'http://0.0.0.0:4000/key/unblock'     --header 'Authorization: Bearer sk-1234'     --header 'Content-Type: application/json'     --data '{
    "key": "sk-Fn8Ej39NxjAXrvpUGKghGw"
}'
```

Note: This is an admin-only endpoint. Only proxy admins can unblock keys.

## Headers

- `litellm-changed-by` string, nullable — The litellm-changed-by header enables tracking of actions performed by authorized users on behalf of other users, providing an audit trail for accountability

## Request body

- BlockKeyRequest
  - `key` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.net/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sea-lion/litellm-api/revisions/1e929292ddd5/schema)
