Grant a principal access to a mailbox.

post/v1/grants

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Secure-better-auth.session_token

Request body

principalIdstring required
mailboxIdstring required
capabilitiesstring[] required

From the engine's supported set.

Response

The request has succeeded and a new resource has been created as a result.

idstring required
principalIdstring required
mailboxIdstring required
capabilitiesstring[] required
createdAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.