DELETE
gmail_labels_delete.py
Requires
https://www.googleapis.com/auth/gmail.modify. Costs 5 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.
Delete a label and remove it from every message and thread it is on.
from charter.packs import gmail
result = await gmail.labels_delete.ainvoke({"id": ...})
https://www.googleapis.com/auth/gmail.modify. Costs 5 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 label to delete. |
Was this page helpful?