Disconnect an Extension's Call

Disconnect an ongoing call of a specific extension.

Endpoint

POST /api/v1.1.0/extension/hangup?token={token}

Request Parameters

Name Importance Type Description
extid Required Int Hang up the ongoing call of the specified extension.

Examples

Request Example
POST /api/v1.1.0/extension/hangup?token=1e3b3ebb6a974cb42ed31de5413df52d HTTP/1.1
Content-Type:application/json; charset=utf-8
Host: 192.168.5.150
{
    "extid": "1000"
}
Response Example
HTTP/1.1 200 OK
Access-control-allow-origin: *
Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE
{
    "status": "Success"
}