Delete Alarms
Delete one or multiple alarms for a specific extension.
Request URL
GET {base_url}/{api_path}/wakeupcall/delete?access_token={access_token}
Request parameters
Parameter | Required | Type | Description |
---|---|---|---|
ext_id | Yes | Integer | The unique ID of an extension. Note: You
can query extension's ID using Search Specific Extensions. |
wakeup_call_id | No | Integer | The unique ID of an alarm.
Note: You can query alarm's ID using
Query Alarm List. |
Response parameters
Parameter | Type | Description |
---|---|---|
errcode | Integer | Returned error code.
Note: You can check the error code and
error message in Error Code and Error Message.
|
errmsg | String | Returned message.
|
Examples
Request example
GET /openapi/v1.0/wakeupcall/delete?ext_id=223&wakeup_call_id=15&access_token=ojPrvnfzPdwc8OCcRmhG16gEHuZcwFco HTTP/1.1
Host: 192.168.5.150:8088
Response example
HTTP/1.1 200 OK
{
"errcode": 0,
"errmsg": "SUCCESS"
}