---
title: "Delete a user API key"
method: DELETE
path: "/v1/user/api_keys/{api_key_id}"
tags: ["api_keys"]
---

# Delete a user API key

`DELETE /v1/user/api_keys/{api_key_id}`

Permanently revoke a user API key. Users can revoke their own keys, and admins can revoke keys belonging to other users. The key stops working immediately.

## Path parameters

- `api_key_id` string, required — The GlobalID of the API key.

## Response `204`

No content returned on successful deletion.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — API key not found.
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/arize-ai/apis/arize-phoenix-rest-api.md) · [All operations](https://skmtc.net/arize-ai/apis/arize-phoenix-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/arize-ai/arize-phoenix-rest-api/versions/5339b2afd3a2/schema)
