Logo
Zoom Public API Documentation

Move the specified thread to TRASH folder

POST {{baseUrl}}/emails/mailboxes/:email/threads/:threadId/trash

Moves the specified thread to the trash. Any messages that belong to the thread are also moved to the trash.

Scopes: mail:write

Rate Limit Label: MEDIUM

Not supported in Gov cluster

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "id": "<string>", "messages": [ { "id": "<string>", "threadId": "<string>", "labelIds": [ "<string>", "<string>" ] }, { "id": "<string>", "threadId": "<string>", "labelIds": [ "<string>", "<string>" ] } ] }



Curl
curl -X POST 'https://api.zoom.us/v2/emails/mailboxes/:email/threads/:threadId/trash' -H 'Accept: application/json'

ENDPOINTS