---
title: "Delete Key"
method: DELETE
path: "/api/developer/keys/{api_key_id}"
tags: ["Developer"]
---

# Delete Key

`DELETE /api/developer/keys/{api_key_id}`

## Request

- Base URL: `https://api.animgen.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.animgen.com/api/developer/keys/{api_key_id}`
- Auth: none declared

## Path parameters

- `api_key_id` string, uuid, required

## Response `200`

Successful Response

- APIKeyOut
  - `id` string, uuid, required
  - `name` string, required
  - `prefix` string, required
  - `lastFour` string, required
  - `scopes` string[], required
  - `createdAt` string, required
  - `expiresAt` string, nullable
  - `revokedAt` string, nullable
  - `lastUsedAt` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/animgen/apis/aianimgenbackend.md) · [All operations](https://skmtc.dev/animgen/apis/aianimgenbackend/llms.txt) · [OpenAPI document](https://skmtc.dev/animgen/apis/aianimgenbackend/revisions/0504d838139a?raw)
