Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
Overview
This node operation deletes the profile picture associated with a specified WhatsApp session using the WARest WhatsApp REST API. It is useful for managing user profile images programmatically, such as removing outdated or unwanted profile pictures in automated workflows.
Use Case Examples
- Automatically remove a profile picture when a user requests privacy changes.
- Clear profile pictures for multiple sessions in bulk as part of account management.
Properties
| Name | Meaning |
|---|---|
| Session | Identifier of the WhatsApp session from which the profile picture will be deleted. This can be selected from a list of available sessions or entered manually. |
Output
JSON
json- The response from the WARest API after attempting to delete the profile picture, typically indicating success or failure.
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.
Troubleshooting
- Ensure the session ID provided is valid and corresponds to an active WhatsApp session.
- Check that the API credentials (API key and base URL) are correctly configured and have the necessary permissions.
- If the operation fails, the node will throw an error indicating the issue, such as invalid session or network problems.
Links
- Baileys WhatsApp API - Underlying WhatsApp API library that WARest may use for session management and messaging.
- WARest API Documentation - Official documentation for the WARest WhatsApp REST API, detailing endpoints and usage.
