---
title: "Revoke Share Key"
method: POST
path: "/api/v1/config/share-keys/{key_id}/revoke"
tags: ["share-keys"]
---

# Revoke Share Key

`POST /api/v1/config/share-keys/{key_id}/revoke`

## Request

- Base URL: `https://memory.kagura-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://memory.kagura-ai.com/api/v1/config/share-keys/{key_id}/revoke`
- Auth: none declared

Revoke a share key (soft delete; uniform 404 if not the user's active key).

## Path parameters

- `key_id` string, required: Public id of the share key (`skey_` + 22 base62 characters).

## Headers

- `authorization` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud.md) · [All operations](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/revisions/09f17f5ada29?raw)
