---
title: "Revoke Admin API Key"
method: DELETE
path: "/api/admin/v1/admin_api_keys/{id}"
tags: ["Admin Resources"]
---

# Revoke Admin API Key

`DELETE /api/admin/v1/admin_api_keys/{id}`

Revoke/Delete an admin API key. Ultraadmins may revoke any key, and other admins may only revoke their own.

## Response `200`

successful

- object
  - `success` boolean
  - `message` string

## Other responses

- `401` — unauthorized
- `403` — forbidden (not your key)

---

[API](https://skmtc.dev/hackclub/apis/hackatime-admin-api.md) · [All operations](https://skmtc.dev/hackclub/apis/hackatime-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hackclub/hackatime-admin-api/revisions/f5a2d53cd28d/schema)
