PUT
Update maintenance window

Authorizations

X-API-KEY
string
header
required

Your Atatus API key. You can also send it as the api_key query parameter or, for POST/PUT requests, in the request body.

Path Parameters

id
string
required

Id of the maintenance window.

Body

application/json
name
string
required
Example:

"DB migration - 2026-11-02"

description
string
schedule
enum<string>

Defaults to once.

Available options:
once,
recurring
startTime
string<date-time>

Required for schedule: once.

endTime
string<date-time>

Required for schedule: once.

timezone
string

Time zone the schedule is read in. Defaults to UTC.

recurrence
object

Required for schedule: recurring.

scope
enum<string>

What the window mutes: every rule in the account, the rules listed in alertIds, any rule carrying one of tags, or any rule querying one of products. Defaults to alertIds.

Available options:
all,
alertIds,
tags,
products
alertIds
string[]

Required for scope: alertIds.

tags
string[]

Required for scope: tags.

products
string[]

Required for scope: products.

groupScope
string

Filter tokens (key:value, ANDed) narrowing the window to specific groups of a grouped rule - for example muting one host without muting every host. Empty means every group the scope selects.

muteNotifications
boolean

Suppress notifications while active. Defaults to true.

muteIncidents
boolean

Hold state changes while active: covered groups keep their current state, so nothing is recorded and no incident is declared. Defaults to true. Set it to false to let states keep moving and incidents keep opening quietly, with muteNotifications still suppressing the notifications.

message
string

Shown to recipients when the window starts or ends.

notifications
object

Who to tell that the window itself started or ended, separate from the rule notifications it mutes.

notifyOnEnd
object
enabled
boolean

Defaults to true.

Response

Window updated

success
boolean
data
object

The updated maintenance window.