Delete a Message Bot Domain

    Deletes a specified message bot domain.

    API Type

    Server API

    Request URL

    https://apis.worksmobile.com/r/{API ID}/message/v1/bot/{botNo}/domain/{domainId}

    HTTP Method

    DELETE

    Path Parameters

    Parameter Required Description
    botNo number Y Message bot number to delete a domain from
    domainId Y Message bot domain ID to delete from the list

    Request Example

    
    DELETE https://apis.worksmobile.com/r/apiid/message/v1/bot/123/domain/456
    

    Response

    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.