API to recreate an outage
In cases where an outage is not reported or it has been accidentally deleted, you can recreate it using the following API:
-X PUT \
-H "Content-Type: application/json;charset=UTF-8" \
-H "Accept: application/json; version=2.0" \
-H "Authorization: Zoho-authtoken <authtoken>" \
-d '{
"start_time": "2017-10-04T14:48:36+0530",
"end_time": "2017-03-24T14:55:47+0530",
}'
Note:
- To generate the <authtoken>, log in to Site24x7 and go to Admin > Developer > API > access the URL given.
- Copy the <monitor_ID> from the Site24x7 web client page URL. Eg: https://www.site24x7.com/app/demo#/server/SERVER/15698000078729003/Device
- Ensure the time entered is in the ISO format.
Related Articles
API exceeded error
Why do I get an API exceeded error after a few attempts? Every API has a certain limit to the number of requests a user can hit within a period of time, called the rate limit. An error message is triggered when a user does one of the following ...
API calls best practices
Some of the best practices that you can follow to use APIs effectively Fetch data based on your configured polling frequency. For example, if you want to fetch the log reports for a monitor with a polling frequency of 5 minutes, use ...
Site24x7's intelligent polling logic during Monitor outage
For Internet Service monitors, the Starter, Pro, Classic, and MSP paid plans allow you to monitor websites from eight test locations (one primary and seven secondary). The Enterprise and Elite plans support monitoring from up to 16 locations (one ...
Steps to partially update monitor settings in bulk using API
Monitor details like notification profiles, threshold and availability can be changed/updated in bulk using API without affecting the existing configuration settings. Use Case: A user wants to change only the notification profile of a monitor without ...
Difference between website monitoring and REST API monitoring
Website monitoring allows you to monitor your websites and web applications to ensure that they are up and running. Website monitor verifies the availability of specified, addressable, standard HTTP and HTTPS URLs from over 100+ global locations and ...