Want to pause all monitors, heartbeats, and integrations for the whole team? Explore the Team-wide maintenance instead.
Want to only pause alerting for a single person? Explore using holiday mode instead.
If you want to pause monitors (for example during setup or testing) and not receive downtime alerts:
You can also use our Monitors API, endpoint PATCH /monitors, to pause your monitor using the REST API Call.
Request example:
curl --request PATCH \
--url https://uptime.betterstack.com/api/v2/monitors/:monitor_id\
--header "Authorization: Bearer $TOKEN" \
--header 'Content-Type: application/json' \
--data '{"paused": true}'
curl --request PATCH \
--url https://uptime.betterstack.com/api/v2/monitors/:monitor_id\
--header "Authorization: Bearer $TOKEN" \
--header 'Content-Type: application/json' \
--data '{"paused": false}'
Scheduled maintenance windows are used for times when you're expecting downtime to occur, and don't want to be alerted. This could be for example when running maintenance scripts in your infrastructure or provisioning a new infrastructure.
To add a maintenance window:
You can also use our Monitors API, endpoint PATCH /monitors, to schedule a maintenance window using the REST API Call.
Request example:
curl --request PATCH 'https://uptime.betterstack.com/api/v2/monitors/:monitor_id' \
--header 'Content-Type: application/json' \
--header "Authorization: Bearer $TOKEN" \
--data-raw '{
"maintenance_from": "01:00:00",
"maintenance_to": "03:00:00",
"maintenance_timezone": "Prague"
}'
Want to pause all monitors, heartbeats, and integrations for the whole team? Explore the Team-wide maintenance instead.
Want to only pause alerting for a single person? Explore using holiday mode instead.