---
title: "Clear Oauth Grant Default Context"
method: DELETE
path: "/api/v1/me/oauth/grants/{client_id}/default-context"
tags: ["me-oauth"]
---

# Clear Oauth Grant Default Context

`DELETE /api/v1/me/oauth/grants/{client_id}/default-context`

## 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/me/oauth/grants/{client_id}/default-context`
- Auth: none declared

Clear the MCP default context of one grant.

Raises:
    NotFoundException: The caller has no grant for ``client_id`` (404).

## Path parameters

- `client_id` string, required

## Headers

- `authorization` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-20** `09f17f5ada29`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/changes/api/v1/me/oauth/grants/:client_id/default-context/delete.md)

---

[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)
