---
title: "Revoke Prefix Grant"
method: DELETE
path: "/vault/grants/prefix/{producer_id}/{prefix}"
---

# Revoke Prefix Grant

`DELETE /vault/grants/prefix/{producer_id}/{prefix}`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/vault/grants/prefix/{producer_id}/{prefix}`
- Auth: none declared

Admin: revoke one access level of a producer's prefix grant (#761) → secret.prefix_revoked.
Takes effect on the next request (every check reads the projection; nothing is cached).

## Path parameters

- `producer_id` string, required
- `prefix` string, required

## Query parameters

- `access` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
