Update mail forwarding

PUT/api/v1/mailbox/forwarding
Requires amailbox token— it acts as one mailbox holder, not as the organization.

Backed by Sieve redirect :copy, not a Postfix alias -- the alias route delivers two copies of every forwarded message.

Request body

Request

PUT/api/v1/mailbox/forwarding
curl -X PUT 'https://app.mailyte.com/api/v1/mailbox/forwarding' \
  -H 'Authorization: Bearer MAILBOX_TOKEN'
The key names its own organization, so no X-Organization-ID header is needed.

Response

Successful Response

Returned inside the standard envelope.

Errors

StatusWhen
422Validation Error

Every status, with what causes it and what to do, is on the error reference.