コンテンツにスキップ

Start maintenance for service

POST
/dashboard/services/{id}/maintenance

Start a maintenance window for all monitors belonging to the service. Incident creation is suppressed during maintenance.

id
required
string
object
maintenanceUntil
required

ISO 8601 end datetime for maintenance (max 7 days ahead)

string format: date-time
notify

Send notification to configured channels

boolean
autoResolve

When true, maintenance auto-resolves at the scheduled end time. When false, maintenance persists until manually ended.

boolean
default: true

Maintenance started

object
service
object
id
string
teamId
string
name
string
slug
string
description
string
nullable
isPublic
integer
maintenanceUntil

ISO 8601 timestamp until which the service is under maintenance. Null when not in maintenance.

string format: date-time
nullable
autoResolveMaintenance

Whether maintenance auto-resolves (1) or requires manual resolution (0).

integer
Allowed values: 0 1
createdAt
string format: date-time
updatedAt
string format: date-time

Validation error

Service not found