/api/v1/alerts/rules/{id}/

Update with proper permission checking (403 vs 404).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

A unique integer value identifying this alert rule.

Body Params

Request body for updating an alert rule.

string
length between 1 and 100

Rule name

string
length between 1 and 10

Comparison operator

string | null

Comparison value

string

Complex conditions

string
length between 1 and 200

Rule description

boolean

Enabled status

string
enum
  • info - info
  • warning - warning
  • critical - critical
Allowed:
date-time | null

Activation time

date-time | null

Expiration time

string | null

External API URL

integer
0 to 1440

Cooldown in minutes

string
enum
  • private - private
  • shared - shared
  • public - public
Allowed:
string

Suppression time windows

notification_channel_ids
array of integers

IDs of notification channels to use for this rule

notification_channel_ids
boolean

Also send to global notification URLs from environment

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json