---
title: "Revoke a context grant and its descendants"
method: DELETE
path: "/context/grants/{grantId}"
tags: ["Setup · Context grants"]
---

# Revoke a context grant and its descendants

`DELETE /context/grants/{grantId}`

## Request

- Base URL: `https://api.ziggsai.com`
- URL: `https://api.ziggsai.com/context/grants/{grantId}`
- Auth: HTTP bearer

The grant holder can revoke (narrow) a grant it holds with context:read. Revoking a grant you issued or whose scope you own, but do not hold, requires context:grant.

## Path parameters

- `grantId` string, required

## Response `200`

OK

- GrantRevokeResponseSchema
  - `status` string
  - `revoked` number, required

---

[API](https://skmtc.dev/ziggsai/apis/ziggs-developer-api.md) · [All operations](https://skmtc.dev/ziggsai/apis/ziggs-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ziggsai/apis/ziggs-developer-api/revisions/eda79030e072?raw)
