---
title: "Deactivate a key"
method: POST
path: "/v1/auth/keys/{keyId}/deactivate"
tags: ["Auth"]
---

# Deactivate a key

`POST /v1/auth/keys/{keyId}/deactivate`

## Request

- Base URL: `https://cold-api.coldstate.ai`
- URL: `https://cold-api.coldstate.ai/v1/auth/keys/{keyId}/deactivate`
- Auth: HTTP bearer

## Path parameters

- `keyId` string, required

## Response `200`

OK

## Other responses

- `401`: Missing or invalid API key
- `404`: Not found
- `429`: Rate or quota limit exceeded

---

[API](https://skmtc.dev/coldstate/apis/coldstate-api.md) · [All operations](https://skmtc.dev/coldstate/apis/coldstate-api/llms.txt) · [OpenAPI document](https://skmtc.dev/coldstate/apis/coldstate-api/revisions/609b567f955c?raw)
