Skip to main content

Delete chatroom message

DELETE 

/bv/chatroom/v1/chatrooms/messages/:id

Removes a specific message from the chatroom. Authorization requires the chatroom token with the admin role in the header.

Request

Path Parameters

    id stringrequired

    Required. Indicates the unique ID on the message that wants to be deleted in the chatroom.

Query Parameters

    action_taker.id string

    Output only. The uuid of the user.

    action_taker.device_id string

    Output only. The device id that was used by the user.

    action_taker.custom_name stringrequired

    Required. The custom name of the user.

    action_taker.is_admin boolean

    Output only. Indicates the user whether or not is an admin.

    action_taker.blocked boolean

    Output only. Indicates the user whether or not is blocked.

    sent_at date-time

    Optional. Indicates the sending time on the message that wants to be deleted in the chatroom. It is recommended to provide if available.

    received_at date-time

    Optional. Indicates the receiving time on the message that wants to be deleted in the chatroom. It is recommended to provide if available.

Header Parameters

    authorization string

    This API should be invoked with the chatroom token.

Responses

A successful response.

Schema

    object

Loading...