DELETE /numbers/{id}/relationships/{callback_type}

Request Parameters

Path Parameters

  • id
    integer required

    The phone number to have its callback association removed.

  • callback_type
    string required

    Callback type to be removed. Allowed values are:

    • sms_callback

      Called for inbound SMS messages (see Receive an SMS).

    • mms_callback

      Called for inbound MMS messages (see Receive an MMS).

    • sms_dlr_callback

      Called for SMS Delivery Receipts (see Receive a DLR).

    • mms_dlr_callback

      Called for inbound MMS Delivery Receipts (see Receive a DLR).

Response Format

On success, the HTTP status code in the response header is 204 No Content which means that the server successfully processed the request and is not returning any content. On error, the header status code is an error code and the response body contains an array of error objects.