Skip to main content
PUT
Update a monitor downtime

Authorizations

X-BRONTO-API-KEY
string
header
required

Path Parameters

downtimeId
string<uuid>
required

The ID of the downtime to update

Body

application/json
name
string
required

The name of the monitor downtime

Required string length: 1 - 255
Example:

"Business hours"

description
string
required

Extra contextual information to add to the downtime

Required string length: 1 - 4000
Example:

"Silence alerts outside of business hours"

from
string[]
required

List of monitor IDs to be affected by the downtime

Example:
static_time_range
object
required
suppress_recovery_alert
boolean
default:false

When a monitor alerts outside of a downtime window but subsequently recovers within a downtime, by default the first recovery alert is allowed. Setting this flag to "true" forces these recovery alerts to also be suppressed.

alert_strategy
enum<string>
default:DELAY

How to handle alerts triggered during the downtime; "DELAY" alerts until the downtime ends, or "DROP" alerts entirely during the downtime.

Available options:
DELAY,
DROP
Example:

"DELAY"

dynamic_time_range
object

Response

Downtime is successfully updated

id
string<uuid>
required

The unique identifier for the monitor downtime

name
string
required

The name of the monitor downtime

Required string length: 1 - 255
Example:

"Business hours"

description
string
required

Extra contextual information to add to the downtime

Required string length: 1 - 4000
Example:

"Silence alerts outside of business hours"

from
string[]
required

List of monitor IDs to be affected by the downtime

Example:
static_time_range
object
required
suppress_recovery_alert
boolean
default:false

When a monitor alerts outside of a downtime window but subsequently recovers within a downtime, by default the first recovery alert is allowed. Setting this flag to "true" forces these recovery alerts to also be suppressed.

alert_strategy
enum<string>
default:DELAY

How to handle alerts triggered during the downtime; "DELAY" alerts until the downtime ends, or "DROP" alerts entirely during the downtime.

Available options:
DELAY,
DROP
Example:

"DELAY"

dynamic_time_range
object