Message Store
Patch Message(s)
Patches message(s) by ID(s). Currently, only updating the readStatus and restoring deleted messages are supported through this method.
For changing status of a message send readStatus set to either 'Read' or 'Unread' in request. It is possible to restore a message and its attachments (if message status is 'Deleted') by sending availability attribute set to 'Alive' in request body. If a message is already in 'Purged' state then its attachments cannot be restored and the message itself is about to be physically deleted.
Bulk syntax (both traditional and alternative one) is supported.
patch/restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store/{messageId}
Request body
Response
Successful response (single message)
Example response
{
"id": 1724099032020
}