Unitalk Gmail icon

Unitalk Gmail

Consume the Gmail API with Unitalk

Label → Delete

AI-generated

Summary

Deletes a Gmail label by its ID.

Inputs

  • Label ID (required) — The ID of the label to delete. Obtainable from the 'Get' or 'Get Many' label operations.

Output shape

An object with a 'success' property set to true for each deleted label.

For each input item, the operation attempts to delete the label specified by Label ID. On success, returns { success: true }. If the label does not exist, the underlying API will throw an error.

Examples

Example 1: Delete a specific label

Set Resource to 'Label', Operation to 'Delete', and provide the Label ID (e.g., 'Label_2').

Links

Discussion