Voice

Detach a number from its SIP trunk

Changed on

Returns the number's calls to Zernio routing. Idempotent when the number is not attached to any trunk.

delete/v1/phone-numbers/{id}/sip-trunk

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/phone-numbers/{id}/sip-trunk
  • Auth: HTTP bearer

Path parameters

idstring required

Response

Number detached.

attachedboolean

Always false after a successful detach.

phoneNumberstring

Changes

    • info

      added the non-success response with the status

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status