WhatGHL icon

WhatGHL

Send actions to WhatGHL API

Actions42

🏷️ **LABELS** · Delete Label

AI-generated

Summary

Delete a label from WhatsApp via the WhatGHL API by specifying its label ID and optionally selecting the session to use for the API call.

Inputs

  • Session Mode — Choose how WhatGHL selects the sender session: Auto (default backend selection), By Session Name (specify exact session name), or By Session Selector (pick a session from available sessions).
  • Session — Select a specific session ID to use when Session Mode is 'Select Session'.
  • Session Name — Specify a WAHA session name to use as sender when Session Mode is 'By Session Name'.
  • Label ID (required) — The numeric or string identifier of the label to delete from WhatsApp. Required for the delete label operation.

Output shape

a single JSON object containing the API response to the delete label request

The node sends a POST request to the WhatGHL API with action 'delete_label' including the label ID and session info. The returned JSON response is output as the node's result. Errors occur if the label ID is missing or invalid.

Examples

Example 1: Deleting label with ID '1' using default session selection

Session Mode: Auto (default), Label ID: 1

Links

Discussion