---
title: "Revoke API Key"
method: DELETE
path: "/v1/user/api-keys/{api_key_id}"
tags: ["User"]
---

# Revoke API Key

`DELETE /v1/user/api-keys/{api_key_id}`

## Request

- Base URL: `https://api.robosystems.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.robosystems.ai/v1/user/api-keys/{api_key_id}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Deactivates the key immediately. Requests using the revoked key will fail with 401.

## Path parameters

- `api_key_id` string, required

## Response `200`

Successful Response

- SuccessResponse: Standard success response for operations without specific return data.
  - `success` boolean: Indicates the operation completed successfully
  - `message` string, required: Human-readable success message
  - `data` object, nullable: Optional additional data related to the operation

## Other responses

- `400`: Invalid request
- `401`: Authentication required
- `403`: Access denied
- `404`: Resource not found
- `422`: Validation Error
- `429`: Rate limit exceeded
- `500`: Internal server error

---

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