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
- Base URLhttps://platform.ringcentral.com
- AuthOAuth 2Authorization codehttps://platform.ringcentral.com/restapi/oauth/authorizeToken URLhttps://platform.ringcentral.com/restapi/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful response (single message)
Example response
{
"id": 1724099032020
}Changes
No recorded changes to this operation across all 1 revision of this API.