---
title: "Revoke a key (optional ?graceDays for rotation)"
method: DELETE
path: "/api-keys/{id}"
tags: ["API keys"]
---

# Revoke a key (optional ?graceDays for rotation)

`DELETE /api-keys/{id}`

## Request

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

## Path parameters

- `id` string, uuid, required

## Query parameters

- `graceDays` integer

## Response `200`

Revoked

---

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