---
title: "Revoke Key"
method: DELETE
path: "/v1/keys/{key_id}"
tags: ["sandboxes"]
---

# Revoke Key

`DELETE /v1/keys/{key_id}`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/v1/keys/{key_id}`
- Auth: none declared

Revokes a per-sandbox key and rotates its sandbox's secrets.

## Path parameters

- `key_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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