メインコンテンツまでスキップ

Block user in chatroom

POST 

/bv/chatroom/v1/chatrooms/users:block

Prevents a specific user from participating in the chatroom. Ideal for event hosts to ban participants, rendering their messages invisible to others. Authorization requires the chatroom token with the admin role in the header.

Request

Header Parameters

    authorization string

    This API should be invoked with the chatroom token.

Body

required
    blocked_user objectrequired

    Required.

    id stringrequired

    Required. The uuid of the blocked user.

    device_id stringrequired

    Required. The device id of the blocked user.

    custom_name stringrequired

    Required. The custom name of the blocked user.

    action_taker objectrequired

    Required. The user who blocked the user.

    custom_name stringrequired

    Required. The custom name of the user.

Responses

A successful response.

Schema

    object

Loading...