Skip to main content

Temporarily Pause Monitor

info

This is especially useful in CI/CD pipelines when deploying new versions of your application.

This endpoint allows you to temporarily pause a specific Monitor in your Garmingo Status instance for a specific duration.

EndpointMethodURL
/monitors/{id}/pausePOSThttps://garmingo.com/api/status/v1/monitors/{id}/pause

Request Body

The request body is a JSON object with the following properties:

ParameterTypeDescriptionRequiredMinimumMaximum
durationnumberThe duration to pause the Monitor for in seconds.Yes60 (1 minute)43.200 (12 hours)

Example

{
"duration": 3600 // 1 hour
}

Response

The response is a JSON object with the following properties:

PropertyTypeDescription
successbooleanWhether the request was successful.

Example

{
"success": true
}