Actions116
- 💬 Chats Actions
- 👤 Contacts Actions
- 👥 Groups Actions
- Get Info Admin Only
- Set Messages Admin Only
- Get Messages Admin Only
- Get Invite Code
- Revoke Invite Code
- Get Participants
- Add Participants
- Remove Participants
- Promote To Admin
- Demote To Admin
- Create Group
- Get Groups
- Join Info Group
- Join Group
- Refresh Groups
- Get Group
- Delete Group
- Leave Group
- Get Chat Picture
- Set Picture
- Delete Picture
- Set Description
- Set Subject
- Set Info Admin Only
- 🖥️ Sessions Actions
- 🆔 Profile Actions
- 🖼️ Screenshot Actions
- 📤 Chatting Actions
- 📢 Channels Actions
- 🟢 Status Actions
- ✅ Presence Actions
- 🏷️ Labels Actions
- 🔍 Observability Actions
- 🔑 Auth Actions
Overview
This node operation deletes a WhatsApp Channel identified by its ID within a specified session. It is useful for managing WhatsApp channels by removing those that are no longer needed or valid. For example, if a WhatsApp channel is deprecated or compromised, this operation can be used to delete it from the system.
Use Case Examples
- Deleting a WhatsApp channel by providing the session name and channel ID to clean up unused channels.
- Removing a compromised WhatsApp channel to prevent unauthorized access.
Properties
| Name | Meaning |
|---|---|
| Session | The name of the session under which the WhatsApp channel exists. This is required to identify the context for the deletion. |
| Id | The unique identifier of the WhatsApp Channel to be deleted. This is required to specify which channel to remove. |
| Request Options | Optional settings to control the HTTP request behavior such as batching, SSL certificate validation, proxy usage, and timeout duration. |
Output
JSON
success- Indicates whether the WhatsApp channel was successfully deleted.message- Additional information or confirmation message about the deletion operation.
Dependencies
- Requires an API key credential or authentication token to authorize the deletion request to the WhatsApp service.
Troubleshooting
- Ensure the session name and channel ID are correct and exist; otherwise, the deletion will fail.
- If SSL certificate validation fails and the request is blocked, enable the 'Ignore SSL Issues' option to bypass this check (not recommended for production).
- Check proxy settings if the request cannot reach the server due to network restrictions.
- Timeout errors may occur if the server is slow to respond; increase the timeout setting if necessary.
Links
- WhatsApp Cloud API - Delete Channel - Official documentation for deleting WhatsApp channels via the API.