---
title: "Revoke an API key"
method: DELETE
path: "/api/v1/users/me/api-keys/{id}"
tags: ["Users & Profiles"]
---

# Revoke an API key

`DELETE /api/v1/users/me/api-keys/{id}`

## Request

- Base URL: `https://api.skills-hub.ai`
- URL: `https://api.skills-hub.ai/api/v1/users/me/api-keys/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

Authenticated. Permanently revokes the signed-in user's API key identified by `:id`. Only the key's owner can revoke it; returns `{ success: true }` on completion.

## Path parameters

- `id` string, required

## Response `200`

Successful response. The returned fields are described in this endpoint's summary/description; typed per-field response schemas are being added incrementally.

- object
  - `success` true, required

---

[API](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api.md) · [All operations](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/skills-hub/apis/skills-hub-ai-api/revisions/cb5d46d80300?raw)
