Actions48
- Get Actions
- Message Actions
- Friend Actions
- Group Actions
Friend → Block User
AI-generatedOverview
This node operation allows users to block a specific friend on the Zalo platform by providing the User Id of the Zalo user to be blocked. It is useful in scenarios where a user wants to prevent another user from interacting with them on Zalo, such as stopping unwanted messages or contacts.
Use Case Examples
- Blocking a user who is sending spam messages.
- Preventing a user from viewing your profile or contacting you.
Properties
| Name | Meaning |
|---|---|
| User Id | The unique identifier of the Zalo user to be blocked. |
Output
JSON
success- Indicates whether the block operation was successful.blockedUserId- The User Id of the user who was blocked.
Dependencies
- Requires Zalo API access with appropriate authentication credentials.
Troubleshooting
- Ensure the User Id provided is valid and corresponds to an existing Zalo user.
- Check that the API credentials have the necessary permissions to block users.
- Common errors include invalid User Id, insufficient permissions, or network issues. Verify API response messages for specific error details and adjust inputs or credentials accordingly.
Links
- Zalo API Documentation - Block User - Official documentation for the Zalo API endpoint to block a user.