Fastmail icon

Fastmail

Actions for Fastmail messages, labels, drafts and threads

Label → Delete a Label

AI-generated

Summary

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).

Links

Discussion