Skip to main content
PATCH
trash and untrash a message

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #

Path Parameters

mailServerID
string
required
Pattern: ^[0-9a-fA-F]{24}$
messageID
string
required
Pattern: ^[0-9a-fA-F]{24}$

Body

application/json

Pass "false" to untrash

isTrash
boolean
required

Response