Squadcast is now SolarWinds Incident Response
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Services/Maintenance Mode

Get Maintenance Mode

get
/v3/services/{serviceID}/maintenance
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
serviceIDstringRequired
Responses
200

The request has succeeded.

application/json
get/v3/services/{serviceID}/maintenance
GET /v3/services/{serviceID}/maintenance HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": [
    {
      "service_id": "text",
      "maintenance_from": "2026-01-01T00:00:00.000Z",
      "maintenance_till": "2026-01-01T00:00:00.000Z",
      "repetition_daily": true,
      "repetition_weekly": true,
      "repetition_two_weekly": true,
      "repetition_three_weekly": true,
      "repetition_monthly": true,
      "deleted": true,
      "repeat_till": "2026-01-01T00:00:00.000Z"
    }
  ]
}

Create or Update Maintenance Mode

post
/v3/services/{serviceID}/maintenance
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
serviceIDstringRequired
Body
onMaintenancebooleanRequired
Responses
200

The request has succeeded.

application/json
datastringRequired
post/v3/services/{serviceID}/maintenance
POST /v3/services/{serviceID}/maintenance HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 218

{
  "onMaintenance": true,
  "serviceMaintenance": [
    {
      "maintenanceStartDate": "text",
      "maintenanceEndDate": "text",
      "daily": true,
      "weekly": true,
      "twoWeekly": true,
      "threeWeekly": true,
      "monthly": true,
      "deleted": true,
      "repeatTill": "text"
    }
  ]
}
{
  "data": "text"
}

Last updated