Praecise Inbox/ Reference/ Mailboxes
Move a message
post/mailboxes/{mailbox}/messages/{id}/move
Move a message to another folder. Archive and Trash are folders; nothing is deleted outright.
Before you call
- Credential
Authorization: Bearer $KEY
Parameters
- mailboxstringrequiredIn the path. Mailbox address.
- idstringrequiredIn the path
Request bodyapplication/json, required
- folderstringFolder id: inbox, sent, draft, archive, spam, trash, or a custom folder name. Default: inbox.
- tostringDestination folder, e.g. Archive or Trash.
Responses
- 200application/jsonMove a message
object - 401No valid access key.
- 403The key may not do this on this mailbox.
- 429Too many calls; see Retry-After.