Skip to main content

Pause/Resume Alert

PUT/api/v1/monitoring/single-service/stop_resume_alert/{alert_trigger_id}/

Path parameters

  • alert_trigger_idPathstringrequired

    Path parameter alert_trigger_id.

Query parameters

  • project_idQuerystringoptional

    Identifier 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}}
  • apikeyQuerystringoptional

    API key for authenticating the request

    • required
    • non-empty
    example{{api_key}}
  • locationQuerystringoptional

    Specifies 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

string

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
object
codeinteger

HTTP status code indicating the result of the pause or resume alert request

example200
  • must be an integer
  • must be a valid HTTP status code
datastring

String value returned in the response for a pause or resume alert operation

example
  • must be a string
  • may be empty
errorsobject
messagestring

Human-readable status message for the pause or resume operation

exampleAlert paused successfully.
  • must be a non-empty string
  • typically under 200 characters