Delete a SIP Trunk

Delete a SIP trunk, multiple SIP trunks, or all SIP trunks.

Endpoint

POST /api/v1.1.0/siptrunk/delete?token={token}

Request Parameters

Name Importance Type Description
trunkname Required String SIP trunk name.
  • A SIP trunk: Set trunkname to the SIP trunk name.

    Example: "trunkname":"SIP"

  • Multiple SIP trunks: Set trunkname to the SIP trunk name. Separate multiple SIP trunks with ,.

    Example: "trunkname": "SIP1,SIP2"

  • All SIP trunks: Set trunkname to all.

Examples

Request Example

POST /api/v1.1.0/siptrunk/delete?token=1e3b3ebb6a974cb42ed31de5413df52d HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: 192.168.5.150
{
    "trunkname": "Test,Test1"
}

Response Example

HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
{
    "status": "Success"
}