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 revokes an existing invite link for a WhatsApp group using the WARest WhatsApp REST API. It is useful for administrators who want to invalidate a previously shared invite link to prevent further joining of the group via that link, enhancing group security and control.
Use Case Examples
- An admin wants to revoke a group invite link after sharing it publicly to prevent unauthorized users from joining.
- A group owner needs to invalidate an old invite link before generating a new one for better access management.
Properties
| Name | Meaning |
|---|---|
| Session | The WhatsApp session identifier used to authenticate and perform the operation. |
| Group ID | The unique identifier (JID) of the WhatsApp group for which the invite link will be revoked. |
Output
JSON
json- The JSON response from the WARest API indicating the result of the revoke invite link operation.
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 is valid and active; otherwise, the API call will fail authentication.
- Verify the group ID is correct and corresponds to a group the session has admin rights to manage.
- Common error messages include 'Operation not implemented' if the operation name is incorrect, or API errors if the session or group ID is invalid.
- If the invite link is already revoked or invalid, the API may return an error or empty result.
Links
- WARest API Group Management - Revoke Invite Link - Official documentation for managing WhatsApp groups including revoking invite links using the WARest API.
