x Zalo User icon

x Zalo User

Interact with Zalo User API

Friend → Block User

AI-generated

Summary

Block a user on Zalo by specifying their user ID to prevent further interactions.

Inputs

  • User ID (required) — Target user ID to block

Output shape

a single JSON object per input item, confirming the block action with fields including 'success', 'resource', 'operation', 'userId', and a timestamp 'blockedAt'.

Each output includes the input item's index paired for traceability. The operation does not return detailed error information besides a failure message if it occurs.

Examples

Example 1: Block a user by their user ID

Set the 'User ID' parameter to the target user's identifier; when executed, the node marks this user as blocked in Zalo and outputs a confirmation JSON.

Discussion