deleteLabel
Delete Email Label
Delete a Gmail label: removes the label, not the messages it was on.
Arguments
accountIdstringoptionalConnected account this acts on: an accountId or email from listMailAccounts. Omit for the primary account. Pass the SAME account you found the message / draft / label in: a Gmail id is per-account, so aiming a non-primary id at the…labelIdstringrequiredThe label ID to delete (use listLabels to find IDs)
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- delete the X label
- remove that email folder
Pair it with
The verbs that finish the job.