api:pbx:app:action:hangup
Table of Contents
API : PBX : APP : Action : Hangup
Introduction
This request will hangup an ongoing call.
Request
| URL | https://api.telecomx.dk/pbx/app/action/hangup | ||
|---|---|---|---|
| Method | GET | ||
| Access level | PERSONAL, VIEWER, MANAGER, OWNER, RESELLER, ADMIN. | ||
| Query | target | String | Id of call to hangup. |
Request example
https://api.telecomx.dk/pbx/app/action/hangup?target=12345678901234567890ABCD
Response
| Json object | ||
|---|---|---|
| success | Boolean | True on success |
Example
{ "success": true }
Errors
| Error code | Message | Description |
|---|---|---|
| 422 | target | Invalid target |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/pbx/app/action/hangup.txt · Last modified: 2020/06/19 21:31 by Per Møller