PUT
gmail_labels_update.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.
Replace a label’s name, visibility and colour.
from charter.packs import gmail
result = await gmail.labels_update.ainvoke({"id": ..., "body": ...})
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 update. |
| Field | Type | Description |
|---|---|---|
body * | Label | The label’s replacement content. |
Was this page helpful?