Bot Leaves the Chat Room

    Makes a bot leave the chat room which it belongs to.

    API Type

    Server API

    Request URL{API ID}/message/v1/bot/{botNo}/room/{roomId}/leave

    HTTP Method

    POST (Content-Type: application/json; charset=UTF-8)

    Path Parameters

    Parameter Required Description
    botNo Y Message bot number
    roomId Y Chat room ID

    Request Example



    It returns HTTP status 200 with no response if successful.

    Error Code

    If the API call fails, it returns an error code and message.
    For error codes, refer to Message Bot REST API Error Codes.