Skip to content
Website API / Alerts

Delete an alert

DELETEhttps://<your Reveata origin>/api/v1/websites/{website}/alerts/{alertId}

Deletes an alert and its history. Needs the editor role.

Related: Recent alert firings and List alerts in Alerts.

Try in playground

Request

Path parameters

websitestringrequired

Website id or domain, e.g. example.com

1–253 characters

alertIdstringrequired

Pattern: ^[a-f0-9]{24}$

Headers

Authorizationstringrequired

Bearer followed by an account token or an OAuth access token with the alerts:write scope.

Response

Deleted.

{
  "status": "string",
  "data": {
    "deleted": "string"
  }
}

Response fields

FieldTypeDescription
status"ok"
dataobject
data.deletedtrue