Mailboxes
Revoke a mailbox grant
Removes a member's access to a mailbox. View request and response details for this Samva email API endpoint.
DELETE
Removes a member's access to a mailbox. The last grant that can configure the mailbox cannot be revoked, so a mailbox is never left with nobody able to administer it: grant a teammate the admin role before removing your own.
apiKeyheader
x-api-key<token>id*stringMatch
^mbx_[0-9a-hjkmnp-tv-z]{16,24}$grantId*stringMatch
^mbxacl_[0-9a-hjkmnp-tv-z]{16,24}$SuccessResponse
application/json- response
success*booleanimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.mailboxes.revokeGrant({ "id": "example", "grantId": "example"});Example Response
{ "success": true}Related documentation
Resume a mailbox send
Resumes the same eligible action while preserving its content, message identity, existing retry delays and original deadline.
Send a draft
Sends one of the caller's drafts: a reply draft in its thread, any other draft as a new conversation. A draft needs recipients, a subject, and a body.