Request URL

POST https://api.dotcom-monitor.com/config_api_v1/device/{device_id}/DisableAlert

Disable alerts for a device for the specified period of time.

Path Parameters

Field Type Required Description
device_id

string

true

The unique id of a monitoring device. To request a list of devices’ IDs within a platform see API: Get Device List by Platform.

To see a device id from within your dotcom-monitor account, open the target device in the Device Manager list to edit. In the browser’s address bar you’ll see something like:

https://user.dotcom-monitor.com/ClientID/DeviceEdit?pid=dc7f4ff2ca944dekjh1078b96707002&deviceId=63698&taskId=132834

The deviceId=63698 is the device ID.

Header Parameters

Content-Type: application/json
Example Post body of the request that will disable alerts for 30 minutes
{
    "Alert_Silence_min": 30
}

Body Parameters

Field Type Required Description
Alert_Silence_min

int

true

Defines the time period in minutes when all alerts are disabled.

Success Response

Example response
{
    "Success":true,
    "Result":"Alert silence for device 8533 has been set to 30"
}