Delete an Alarm
Delete an alarm of an extension.
Endpoint
POST /api/v1.1.0/wakeupcall/delete?token={token}
Request Parameters
Note: To delete multiple alarms, separate the
wakeupid
with
,
. For example: {"extid": "1000","wakeupid":"1,2"}
Name | Importance | Type | Description |
---|---|---|---|
extid |
Required | Int | The extension number. |
wakeupid |
Optional | String | A unique Identifier for the alarm.
|
Examples
Request ExampleDelete the alarm 1 of extension 1000.
POST /api/v1.1.0/wakeupcall/delete?token=1e3b3ebb6a974cb42ed31de5413df52d HTTP/1.1 Content-Type:application/json; charset=utf-8 Host: 192.168.5.150 { "extid": "1000", "wakeupid": "1" }
Delete all alarms of extension 1000.
POST /api/v1.1.0/wakeupcall/delete?token=1e3b3ebb6a974cb42ed31de5413df52d HTTP/1.1 Content-Type:application/json; charset=utf-8 Host: 192.168.5.150 { "extid": "1000" }
HTTP/1.1 200 OK Access-control-allow-origin: * Access-control-allow-methods: GET, POST, OPTIONS, PUT, DELETE { "status": "Success" }