This API will soon be deprecated. Please use another API.

    Bot Leaves the Chatroom

    A bot leaves the chatroom which it belongs to.

    API Type

    Server API

    Request URL{API ID}/message/leaveRoom

    HTTP Method

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


    Parameter Type Required Description
    botNo number Y Number of the message bot to leave the chatroom
    roomId string Y Room ID

    Request Example

      "botNo": 123,
      "accountIdList": ["", ""],
      "title": "my title"


    It returns code 200 when the API call is successful.

    Property Type Required Description
    code number Y ● 200: Success
    ● 4xx: Client request errors
    ● 5xx: Unexpected errors and server internal errors
    message string Y Description about the code

    Response Example

    {"code": 200, "message": "OK"}