Alerts

Update an alert

Updates alert metadata, query, condition, notifiers, or enabled state. Query and condition changes restart the evaluation schedule; disabling stops it. project_id is immutable.

patch/v2/alerts/{alert_id}

Path parameters

alert_idstring required

Alert ID to update.

Request body

display_namestring

New workspace-unique display name. Omit to keep the current name.

descriptionstring

New description. Omit to keep the current description.

signalstring

New UI signal preset. Omit to keep the current value.

notifier_idsstring[]

Replacement notifier set. Omit to keep the current notifiers.

enabledboolean

New enabled state. Omit to keep the current state.

Response

OK

Changes

Changed in 20 of the 257 revisions of this API.81020

  • addad33219df13See the full diff
    • removed the enum value 30s of the request property condition/allOf[AlertCondition]/interval

      request-property-enum-value-removed

    • added the new optional request property display

      new-optional-request-property

    • added the optional property alert/allOf[Alert]/display to the response with the 200 status

      response-optional-property-added

    • removed the 30s enum value from the alert/allOf[Alert]/condition/allOf[AlertCondition]/interval response property for the response status 200

      response-property-enum-value-removed

    This revision also has 31 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 1586760a252f31See the full diff
    • removed the request property display

      request-property-removed

    • removed the optional property alert/allOf[Alert]/display from the response with the 200 status

      response-optional-property-removed

    • added the new 30s enum value to the alert/allOf[Alert]/condition/allOf[AlertCondition]/interval response property for the response status 200

      response-property-enum-value-added

    • added the new 30s enum value to the request property condition/allOf[AlertCondition]/interval

      request-property-enum-value-added

    This revision also has 173 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 4fdc24e562eb13See the full diff
    • removed the enum value 30s of the request property condition/allOf[AlertCondition]/interval

      request-property-enum-value-removed

    • added the new optional request property display

      new-optional-request-property

    • added the optional property alert/allOf[Alert]/display to the response with the 200 status

      response-optional-property-added

    • removed the 30s enum value from the alert/allOf[Alert]/condition/allOf[AlertCondition]/interval response property for the response status 200

      response-property-enum-value-removed

    This revision also has 31 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • be3fe58ce38931See the full diff
    • removed the request property display

      request-property-removed

    • removed the optional property alert/allOf[Alert]/display from the response with the 200 status

      response-optional-property-removed

    • added the new 30s enum value to the alert/allOf[Alert]/condition/allOf[AlertCondition]/interval response property for the response status 200

      response-property-enum-value-added

    • added the new 30s enum value to the request property condition/allOf[AlertCondition]/interval

      request-property-enum-value-added

    This revision also has 175 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 3fa1f1bf59d511See the full diff
    • removed the enum value 30s of the request property condition/allOf[AlertCondition]/interval

      request-property-enum-value-removed

    • removed the 30s enum value from the alert/allOf[Alert]/condition/allOf[AlertCondition]/interval response property for the response status 200

      response-property-enum-value-removed

    • added the new optional request property display

      new-optional-request-property

    • added the optional property alert/allOf[Alert]/display to the response with the 200 status

      response-optional-property-added

    This revision also has 31 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the request property display

      request-property-removed

    • removed the optional property alert/allOf[Alert]/display from the response with the 200 status

      response-optional-property-removed

    This revision also has 173 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional request property display

      new-optional-request-property

    • added the optional property alert/allOf[Alert]/display to the response with the 200 status

      response-optional-property-added

    This revision also has 29 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the request property display

      request-property-removed

    • removed the optional property alert/allOf[Alert]/display from the response with the 200 status

      response-optional-property-removed

    This revision also has 42 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional request property display

      new-optional-request-property

    • added the optional property alert/allOf[Alert]/display to the response with the 200 status

      response-optional-property-added

    This revision also has 29 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 257 revisions, 71 have no diff computed.