---
title: "Changes to trash and untrash a message"
method: PATCH
path: "/api/v1/mails/{mailServerID}/messages/{messageID}/"
---

# Changes to trash and untrash a message

`PATCH /api/v1/mails/{mailServerID}/messages/{messageID}/`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 14 revisions.

- **2025-07-29** `f1f122bb148b` — 2 breaking
- **2024-10-17** `899b7592e4f6` — 1 info

## Changes

- **2025-07-29** `f1f122bb148b` — 2 breaking
  - added the new required request property `isTrash`
  - the request's body type changed from no type to `object`
- **2024-10-17** `899b7592e4f6` — 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/liara-cloud/apis/liara-mail-api-documentaion/docs/api/v1/mails/:mailServerID/messages/:messageID/patch.md) · [API](https://skmtc.dev/liara-cloud/apis/liara-mail-api-documentaion.md) · [Page](https://skmtc.dev/liara-cloud/apis/liara-mail-api-documentaion/changes/api/v1/mails/:mailServerID/messages/:messageID/patch)
