---
title: "Revoke API key"
method: DELETE
path: "/v1/keys/{id}"
tags: ["Keys"]
---

# Revoke API key

`DELETE /v1/keys/{id}`

## Request

- Base URL: `https://api.offshoreproz.com`
- URL: `https://api.offshoreproz.com/v1/keys/{id}`
- Auth: HTTP bearer

Permanently revoke a key. Can only revoke keys belonging to the authenticated email.

## Path parameters

- `id` string, required

## Response `200`

Key revoked

- object
  - `data` object
    - `id` string
    - `status` string
  - `request_id` string

## Other responses

- `401`: Unauthorized — invalid or missing API key
- `403`: Forbidden — operation not permitted for this key
- `404`: Not found

---

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