Replace a message's IMAP flags (e.g. mark it Seen). Flags set here are the same ones an IMAP client sees.
HTTP: POST /api/mailbox/messages/{uid}/flags
| Field | Type | Required | Description |
|---|---|---|---|
flags |
string | ✓ | The complete flag set to store, space-separated and WITHOUT leading backslashes (e.g… |
ok-response — see the ok-response schema.
$res = $mk->setMailboxMessageFlags([
'uid' => 42,
'address' => 'support-billing@acme.dev',
'flags' => 'Seen',
]);