Pause/Resume Alert
PUT
/api/v1/monitoring/single-service/stop_resume_alert/{alert_trigger_id}/Path parameters
alert_trigger_idPathstringrequiredPath parameter
alert_trigger_id.
Query parameters
project_idQuerystringoptionalIdentifier of the project to scope the request to. Optional; if omitted, the account's default project is used.
- optional
- if omitted, the request is applied to the default project
example{{project_id}}apikeyQuerystringoptionalAPI key for authenticating the request
- required
- non-empty
example{{api_key}}locationQuerystringoptionalSpecifies the E2E Myaccount location for the pause or resume operation
- must be a valid E2E Myaccount location identifier (e.g., eastus)
- required and cannot be empty
example{{location}}
Request body
application/json
JSON string indicating whether to pause or resume an alert
example
{
"action_type": "pause_alert"
// "action_type": "resume_alert"
}- must be a valid JSON string
- must contain an "action_type" field with value "pause_alert" or "resume_alert"
Responses
200Successful response
HTTP status code indicating the result of the pause or resume alert request
example
200- must be an integer
- must be a valid HTTP status code
String value returned in the response for a pause or resume alert operation
example
- must be a string
- may be empty
Human-readable status message for the pause or resume operation
example
Alert paused successfully.- must be a non-empty string
- typically under 200 characters