Skip to main content

Block user

POST 

/blockUser

Blocks a user from sending messages to the current user. Blocked users cannot start new conversations or send messages in existing conversations with the blocker. Users cannot block themselves or administrators. Role-based restrictions and immunity rules are applied via the restrictBlockUsers and restrictBlockUsersImmun settings.

Request

Responses

Returns true if blocked, false if not allowed