SetMaintenanceMode
Enable or disable maintenance mode for a scrape target to suppress alerts
PUT
/api/v1/monitoring/scrape-health/targets/{targetId}/maintenanceOperation ID
SetMaintenanceModeSince
1.0.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonPath Parameters
targetIdStringRequiredUUID of the target to put into or remove from maintenance mode
Body Fields
enabledBooleanRequiredTrue to enable maintenance mode, false to disable
Example: true
reasonStringRequiredReason for entering maintenance mode
Example: scheduled OS upgrade
