WAHA icon

WAHA

Connect with Whatsapp HTTP API

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 items, such as in messaging or data organization systems. For example, you might use this node to remove outdated or incorrect labels from a session to maintain data accuracy.

Use Case Examples

  1. Deleting a label from a chat session to remove an obsolete tag.
  2. Removing a label from a dataset session to update categorization.

Properties

Name Meaning
Session The name of the session from which the label will be deleted.
Label Id The unique identifier of the label to be deleted.
Request Options Additional options to customize the request such as batching, SSL certificate handling, proxy settings, and timeout duration.

Output

JSON

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

Dependencies

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

Troubleshooting

  • Ensure the session name is correct and active; otherwise, the label deletion will fail.
  • Verify the label ID exists in the specified session to avoid errors.
  • Check network settings if using a proxy or if SSL issues occur; adjust 'Ignore SSL Issues' option if necessary.
  • Timeout errors may occur if the server is slow to respond; increase the timeout setting if needed.

Discussion