`DELETE /oauth/grants/{id}`
DELETE/oauth/grants/:id
Delete grant.
revoke the grant and cascade-revoke the
dependent tokens. Tokens carry grant_id; the token-endpoint verify
path treats a revoked grant as a hard 401 (checked via the Valkey
auth:grant:revoked:{grant_id} key - same read path as the jti
denylist, so no DB hit on the hot path).
Request
Responses
- 200
- 403
- 404
Grant revoked (dependent tokens cascade-revoked)
Caller is not the grant's user or an env admin
Unknown grant