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

    Delete a Message Bot Domain

    Deletes domains registered to a specified message bot.

    API Type

    Server API

    Request URL

    https://apis.worksmobile.com/{API ID}/message/removeBotDomain/v3

    HTTP Method

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

    Request

    Parameter Type Required Description
    botNo number Y Message bot number for which you want to delete a domain
    domainId number Y Message bot domain to be deleted from the list

    Request Example

    {
        "botNo": 123,
        "domainId": 12345
    }
    

    Response

    ​ It returns code 200 when the API call is successful. ​

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