WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node operation deletes a label in a specified session. It is useful for managing and cleaning up labels in applications where labels are used to categorize or tag data, such as in messaging or organizational tools. For example, you can delete outdated or incorrect labels from a session to maintain data accuracy.

Use Case Examples

  1. Deleting a label by specifying the session name and label ID to remove unwanted tags from a messaging session.
  2. Automating label cleanup in workflows where labels are dynamically created and need to be removed after certain conditions are met.

Properties

Name Meaning
Session The name of the session from which the label will be deleted. This is required to identify the context or environment where the label exists.
Label Id The unique identifier of the label to be deleted. This is required to specify exactly which label should be removed.
Request Options Additional options to customize the HTTP request such as batching, SSL certificate validation, proxy settings, and timeout duration.

Output

JSON

  • success - Indicates whether the label deletion was successful.
  • deletedLabelId - The ID of the label that was deleted.
  • session - The session name from which the label was deleted.

Dependencies

  • Requires an API key or authentication token to access the session and perform label deletion.

Troubleshooting

  • If the label ID is incorrect or does not exist, the node will fail to delete the label. Verify the label ID before running the node.
  • Network issues or incorrect proxy settings can cause request failures. Check proxy configuration and network connectivity.
  • If SSL certificate validation fails and 'Ignore SSL Issues' is not enabled, the request will be blocked. Enable this option only if you trust the server.
  • Timeout errors may occur if the server is slow to respond. Increase the timeout setting if necessary.

Discussion