---
title: "Revoke Api Key"
method: DELETE
path: "/v1/auth/keys/{key_id}"
tags: ["Auth"]
---

# Revoke Api Key

`DELETE /v1/auth/keys/{key_id}`

## Request

- Base URL: `https://api.agentline.cloud`
- URL: `https://api.agentline.cloud/v1/auth/keys/{key_id}`
- Auth: HTTP bearer

Revoke an API key by its ID.

The key currently used to authenticate this request cannot be revoked this
way (use a different active key, then revoke the old one). Revocation is
permanent.

## Path parameters

- `key_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents.md) · [All operations](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents/revisions/18c0bdbb4b30?raw)
