---
title: "Revoke a grant"
method: DELETE
path: "/org/kb/nodes/{id}/permissions/{permissionId}"
tags: ["Knowledge Base"]
---

# Revoke a grant

`DELETE /org/kb/nodes/{id}/permissions/{permissionId}`

## Request

- Base URL: `https://apiv2.senso.ai/api/v1`
- URL: `https://apiv2.senso.ai/api/v1/org/kb/nodes/{id}/permissions/{permissionId}`
- Auth: API key in header `X-API-Key`

Revokes an access grant. You cannot revoke your own grant.

## Path parameters

- `id` string, uuid, required
- `permissionId` string, uuid, required

## Response `200`

The grant was revoked.

- MessageResponse: A simple acknowledgement message.
  - `message` string, required

## Other responses

- `400`: The request was malformed — a bad path/query parameter or an invalid value.
- `401`: Missing or invalid credentials — supply a valid org API key in the `X-API-Key` header.
- `403`: The API key is authenticated but not permitted to access this resource.
- `404`: The requested resource does not exist or is not visible to this key.

---

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