---
title: "Revoke Secret"
method: DELETE
path: "/vault/grants/{producer_id}/{name}"
---

# Revoke Secret

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

## 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/{producer_id}/{name}`
- Auth: none declared

Admin: revoke a producer's read grant (emit secret.revoked), or with `?access=write`
its write grant (emit secret.write_revoked). The two are independent.

## Path parameters

- `producer_id` string, required
- `name` string, required

## Query parameters

- `access` string

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