Skip to content
  • Auto
  • Light
  • Dark
Talk to an expert

Archive

Archive an alert
post/v1/alerts/archive

Archive an existing alert

Body Parameters
idstring

The Metronome ID of the alert

formatuuid
release_uniqueness_keyboolean
optional

If true, resets the uniqueness key on this alert so it can be re-used

Returns
dataidstringID
curl https://api.metronome.com/v1/alerts/archive \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $METRONOME_BEARER_TOKEN" \
    -d '{
          "id": "8deed800-1b7a-495d-a207-6c52bac54dc9"
        }'
200 Example
{
  "data": {
    "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
  }
}