End the current webmail session

POST/api/v1/mailbox-auth/logout
Requires amailbox token— it acts as one mailbox holder, not as the organization.

Revokes the session server-side and clears its cookies. Idempotent.

Request

POST/api/v1/mailbox-auth/logout
curl -X POST 'https://app.mailyte.com/api/v1/mailbox-auth/logout' \
  -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

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