Mark messages as read or unread

PATCH /tenants/{tenant}/email-configs/{code}/messages

Updates the read/unread status of one or more mailbox messages. The configuration must have ReadEnabled set to true. Provider sync (Microsoft Graph / Gmail) happens asynchronously — the response does not wait for the provider update.

Requires: Update on Mailbox.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string
{
  "messageIds": [
    "00000000-0000-0000-0000-000000000000"
  ],
  "isRead": false
}

Responses

204 No Content
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found