Actions30
- Message Actions
- Label Actions
- Draft Actions
- Thread Actions
Label → Delete a Label
AI-generatedSummary
Delete a label
Inputs
- labelIdForLabelResource (required) — Label name or ID to delete; can be a name from the list or an expression resolving to an ID.
Output shape
object with fields action, labelId, successful
successful is true only if the label was found and deleted; otherwise false. The operation returns a single record.
Examples
Example 1: Delete label named "Project X"
Set resource to label, operation to Delete a Label, and labelIdForLabelResource to "Project X" (or its ID).