> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ariacompute.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Revoke API Key - DELETE /v1/apikeys/:id

> DELETE /v1/apikeys/:id revokes the current user's API key. One key per user, so the path id is ignored.

Revoke the current user's API key. Because each user holds exactly one key, the `:id` path segment is ignored and the user's sole key is revoked. The old key stops working immediately.

## Endpoint

```http theme={null}
DELETE /v1/apikeys/:id
```

## Authentication

`Authorization: Bearer <jwt>` or `X-API-Key <sk_...>` (auth only).

## Response

**deleted** `boolean`

Always true (revoked).

## Example

```bash cURL theme={null}
curl -X DELETE https://memo.ariacompute.com/v1/apikeys/ignored \
  -H "Authorization: Bearer <jwt>"
```

```json 200 theme={null}
{
  "deleted": true
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.