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.