Skip to main content
PUT
Set an environment's alert stop setting

Authorizations

Authorization
string
header
required

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

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Body

application/json

The setting for every cluster carrying an environment label.

environment
string
required
Maximum string length: 50
on_stop
enum<string>
required

close: the ticket closes once the alert has stayed quiet for quiet_minutes. keep_open: the ticket stays open for a person.

Available options:
close,
keep_open
quiet_minutes
integer | null

How long the alert must stay quiet before the ticket closes, 5 to 1440. Required for close, and must be null or absent for keep_open.

Required range: 5 <= x <= 1440

Response

Successful Response

An organisation's alert stop settings. organisation is the setting every cluster without a more specific one follows: the organisation's own, or Ankra's default.

organisation
AlertStopSetting · object
required

What happens to an alert's ticket once the alert stops firing. close: the ticket closes by itself once the alert has stayed quiet for quiet_minutes; if the alert fires again, the same ticket reopens. keep_open: the ticket stays open for a person to look into. source is where the setting comes from: the cluster's own setting, the setting for its environment label, the organisation's setting, or Ankra's default (close after 15 quiet minutes).

default
AlertStopSetting · object
required

What happens to an alert's ticket once the alert stops firing. close: the ticket closes by itself once the alert has stayed quiet for quiet_minutes; if the alert fires again, the same ticket reopens. keep_open: the ticket stays open for a person to look into. source is where the setting comes from: the cluster's own setting, the setting for its environment label, the organisation's setting, or Ankra's default (close after 15 quiet minutes).

environments
AlertStopPolicyEnvironment · object[]
required
clusters
AlertStopPolicyCluster · object[]
required
environment_labels
string[]
required

The environment labels your clusters carry.