Grant document-local viewer, editor, or manager access
POST/api/v1/documents/:document_id/access/grants
Requires documents.share, a current document-local manager grant, a restricted policy, active direct recipients or a group with an active member, and PAT share when applicable. Grant changes are durably audited.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 409
- 413
- 422
- 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
Duplicate content is disallowed, or an idempotency key was reused for a different request
A configured streaming body or per-file size limit was exceeded. A transport-level rejection may omit the JSON body.
The supplied bytes, filename, declared field value, or supported-content validation failed
A required core dependency is unavailable; retry with bounded backoff