Restore messages
PUT /api/2.0/mail/messages/restore
Restores the messages with the IDs specified in the request to their original folders.
Request body
ids
type: integer[]
List of message IDs
Request example
{
"ids": [
0
]
}
Returns
List of restored message IDs. A request that is not authenticated returns 401.
Response example
[
0
]