Revoke one document-local direct or group grant
DELETE/api/v1/documents/:document_id/access/grants/:grant_id
Requires documents.share, a current document-local manager grant, a same-origin browser proof for cookie requests, and PAT share when applicable. The immutable installation-owner recovery grant is deliberately not revocable.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 503
Updated policy and grant snapshot
The multipart shape or Idempotency-Key is malformed
The opaque credential is absent, ambiguous, malformed, expired, revoked, or invalid
The browser mutation did not originate from this application, or the authenticated member lacks the required permission
The resource is unknown or outside the authenticated household scope
A required core dependency is unavailable; retry with bounded backoff