---
title: "Revoke API key"
method: DELETE
path: "/api/v1/me/api-keys/{id}"
tags: ["API Keys"]
---

# Revoke API key

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

## Request

- Base URL: `https://api.proof.holdings`
- URL: `https://api.proof.holdings/api/v1/me/api-keys/{id}`
- Auth: API key in cookie `auth_token`

Revoke an API key, making it permanently unusable.

## Path parameters

- `id` string, required: MongoDB ObjectId

## Response `200`

API key revoked

- SuccessResponse: Generic success response
  - `success` boolean, required
  - `message` string

## Other responses

- `404`: API key not found

---

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