PUT
/
alerts
/
{id}
curl --request PUT \
  --url https://api.fixa.dev/v1/alerts/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "type": "latency",
  "details": {
    "lookbackPeriod": {
      "label": "<string>",
      "value": 123
    },
    "cooldownPeriod": {
      "label": "<string>",
      "value": 123
    },
    "lastAlerted": "2023-11-07T05:31:56Z",
    "percentile": "p50",
    "threshold": 123
  },
  "savedSearchId": "<string>",
  "slackNames": [],
  "ownerId": "<string>"
}'
{
  "success": true,
  "alert": {
    "id": "<string>",
    "type": "latency",
    "details": {
      "lookbackPeriod": {
        "label": "<string>",
        "value": 123
      },
      "cooldownPeriod": {
        "label": "<string>",
        "value": 123
      },
      "lastAlerted": "2023-11-07T05:31:56Z",
      "percentile": "p50",
      "threshold": 123
    },
    "savedSearchId": "<string>",
    "slackNames": [],
    "ownerId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json

Response

200
application/json

Alert updated successfully

The response is of type object.