Mailboxes

Update a mailbox policy

Updates the fields you name and keeps the rest. Set enabled to false to stop a policy applying without deleting it.

patch/v1/mailboxes/{id}/policies/{policyId}

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/mailboxes/{id}/policies/{policyId}
  • Auth: API key in header x-api-key

Path parameters

idstring required
policyIdstring required

Request body

namestring nullable
outcome'requireApproval' | 'deny'
reasonstring nullable
enabledboolean nullable

Response

MailboxPolicy

idstring required
namestring required
outcome'requireApproval' | 'deny' required
reasonstring nullable required
enabledboolean required
createdAtstring required
updatedAtstring required

Changes

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