---
title: "Trash message"
method: POST
path: "/v0/messages/{id}/trash"
tags: ["Messages"]
---

# Trash message

`POST /v0/messages/{id}/trash`

Trash a message. For an Office 365 message source, the message will be moved to the "Recoverable Items" folder. For a Google Workspace message source, the "Trash" label will be added to the message.

## Path parameters

- `id` string, uuid, required — ID of the message to trash

## Response `202`

Accepted

- HandlerTypesTaskAccepted
  - `task_id` string, uuid, required — Task ID. Use the /v0/tasks/:id endpoint to check the task status.

---

[API](https://skmtc.net/sublime/apis/sublime-platform-api.md) · [All operations](https://skmtc.net/sublime/apis/sublime-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sublime/sublime-platform-api/versions/d5df82850357/schema)
