Mark every message read
POST/api/accounts/:accountId/folders/:folder/mark-all-read
Marks every message in the folder as read by adding the \Seen flag to all of them in one IMAP STORE. Other flags are left alone.
An empty folder is not an error; a folder that cannot be opened returns 424.
Request
Responses
- 204
- 401
- 404
- 424
Marked.
The session has no mailbox access token. code is mail_token_missing; sign in again.
The account does not exist or belongs to another user.
The IMAP, SMTP or Sieve server, or the platform, refused the request or could not be reached.