curl --request PATCH \
--url https://mail-service.iran.liara.ir/api/v1/mails/{mailServerID}/messages/{messageID}/ \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"isTrash": true
}
'This response has no body data.curl --request PATCH \
--url https://mail-service.iran.liara.ir/api/v1/mails/{mailServerID}/messages/{messageID}/ \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"isTrash": true
}
'This response has no body data.Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #
^[0-9a-fA-F]{24}$^[0-9a-fA-F]{24}$Pass "false" to untrash