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.
Endpoint | Method | URL |
---|---|---|
/monitors/{id}/pause | POST | https://garmingo.com/api/status/v1/monitors/{id}/pause |
Request Body
The request body is a JSON object with the following properties:
Parameter | Type | Description | Required | Minimum | Maximum |
---|---|---|---|---|---|
duration | number | The duration to pause the Monitor for in seconds. | Yes | 60 (1 minute) | 43.200 (12 hours) |
Example
{
"duration": 3600 // 1 hour
}
Response
The response is a JSON object with the following properties:
Property | Type | Description |
---|---|---|
success | boolean | Whether the request was successful. |
Example
{
"success": true
}