Actions101
- š¤ Chatting Actions
- š„ļø Sessions Actions
- š Auth Actions
- š¼ļø Screenshot Actions
- š¢ Channels Actions
- š¢ Status Actions
- š¬ Chats Actions
- š¤ Contacts Actions
- š„ Groups Actions
- ā Presence Actions
- š·ļø Labels Actions
- š Observability Actions
Overview
This node operation revokes an invite code for a specified group in a messaging or collaboration platform. It is useful for administrators or users who want to invalidate an existing invite link to prevent further access to the group. For example, if a group invite link has been shared publicly and needs to be disabled for security reasons, this operation can be used to revoke it.
Use Case Examples
- Revoke an invite code for a group to prevent new members from joining using that code.
- Manage group membership by invalidating old or compromised invite links.
Properties
| Name | Meaning |
|---|---|
| Session | The session name used to authenticate and identify the user or bot performing the operation. |
| Id | The unique identifier of the group for which the invite code will be revoked. |
| Request Options | Additional options to control the request behavior such as batching, SSL certificate validation, proxy settings, and timeout duration. |
Output
JSON
success- Indicates whether the invite code revocation was successful.message- Additional information or status message about the revocation operation.
Dependencies
- Requires an active session credential to authenticate the request to the messaging platform's API.
Troubleshooting
- Ensure the session name is valid and active; invalid sessions will cause authentication failures.
- Verify the group ID is correct and the user has permission to revoke invite codes for that group.
- If using a proxy, confirm the proxy settings are correct and accessible.
- Timeout errors may occur if the server is slow or unresponsive; consider increasing the timeout value.
- SSL certificate errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this reduces security.