Patch the specified label in Gmail
A documented Gmail operation that changes something in your account. Describe the outcome you want in plain words — HumDay writes the program, proves it, and runs it.
What this operation does
Patch the specified label.
- PATCHChanges data · users
gmail.googleapis.com/gmail/v1/users/{userId}/labels/{id}
How HumDay uses it
- You describe the outcome. Not this operation by name — what you want to happen. HumDay works out which operations it needs.
- The contract names it. Before anything is built, you see exactly which Gmail operations the program may use, and this is one of them.
- You approve access. Because this one changes data, it cannot run until you have explicitly granted it.
Other Gmail operations
- Directly inserts a message into only this user's mailbox similarPOST · changes data
- Sends the specified message to the recipients in the To, CcPOST · changes data
- Imports a message into only this user's mailboxPOST · changes data
- Creates and configures a client-side encryption identity that'sPOST · changes data
- Set up or update a push notification watch on the given user mailboxPOST · changes data
- Creates a new draft with the DRAFT labelPOST · changes data
- Creates a new labelPOST · changes data
- Sends the specified, existing draft to the recipients in the To, CcPOST · changes data
Questions
- Can HumDay patch the specified label in Gmail?
- Yes. This operation is published in Gmail's own API description, so HumDay can use it without a hand-built connector — once you have approved it for your automation.
- Will this change my Gmail data?
- Yes — this is a PATCH operation, so it changes something in Gmail. HumDay holds anything that writes behind an approval you grant explicitly, and the contract you approve says what it may touch.
- Do I need to write code?
- No. You describe the outcome you want in plain words. HumDay agrees a contract with you, writes the program, and shows you a proof run before anything touches your Gmail account.
Where this came from
Read from a published API description for Gmail at gmail.googleapis.com/$discovery/rest?version=v1. The description above is the provider’s own wording, not ours. Last published 2023-04-21.