Toggle alert rule

Enable or disable an alert rule

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

Response for alert rule.

string
required
length between 1 and 100
string
enum
  • eq - Equals
  • neq - Not Equals
  • lt - Less Than
  • le - Less Than or Equal
  • gt - Greater Than
  • ge - Greater Than or Equal
  • contains - Contains
  • startswith - Starts With
  • endswith - Ends With
  • regex - Regex Match
string | null
string
string | null
boolean
string
enum
  • info - Info
  • warning - Warning
  • critical - Critical
Allowed:
date-time | null
date-time | null
string | null
integer
-2147483648 to 2147483647
date-time | null
string
enum
  • private - Private
  • shared - Shared
  • public - Public
Allowed:
boolean

System rules cannot be deleted by users

string

Time windows when this rule should not trigger. Format: [{"day": "saturday", "start": "22:00", "end": "08:00"}]

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