POST
gmail_threads_trash.py
Requires
https://www.googleapis.com/auth/gmail.modify. Costs 20 against the provider’s own quota.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Move a thread and all of its messages to the trash.
from charter.packs import gmail
result = await gmail.threads_trash.ainvoke({"id": ...})
https://www.googleapis.com/auth/gmail.modify. Costs 20 against the provider’s own quota.| Field | Type | Description |
|---|---|---|
userId | string | The user’s email address. The special value ‘me’ can be used to indicate the authenticated user. defaults to "me" |
id * | string | The ID of the thread to Trash. |
Was this page helpful?