v1

latestOpenAPI 3.0.12026-07-2491247233.8 KB
Messages

Trash message

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.

post/v0/messages/{id}/trash

Path parameters

idstring uuid required

ID of the message to trash

ID of the message to trash

Response

Accepted

task_idstring uuid required

Task ID. Use the /v0/tasks/:id endpoint to check the task status.