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

Services/Suppression Rules

Get Suppression Rules

get
/v3/services/{serviceID}/suppression-rules
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}/suppression-rules
GET /v3/services/{serviceID}/suppression-rules HTTP/1.1
Host: api.squadcast.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": {
    "rules": [
      {
        "rule_id": "text",
        "created_at": "2026-01-01T00:00:00.000Z",
        "updated_at": "2026-01-01T00:00:00.000Z",
        "created_by": "text",
        "updated_by": "text",
        "description": "text",
        "expression": "text",
        "is_basic": true,
        "is_timebased": true,
        "timeslots": [
          {
            "time_zone": "text",
            "start_time": "text",
            "end_time": "text",
            "is_allday": true,
            "repetition": "text",
            "is_custom": true,
            "custom": {
              "repeats_count": 1,
              "repeats": "text",
              "repeats_on_weekdays": [
                1
              ],
              "repeats_on_month": "text"
            },
            "ends_never": true,
            "ends_on": "text"
          }
        ],
        "basic_expression": [
          {
            "lhs": "text",
            "op": "text",
            "rhs": "text"
          }
        ]
      }
    ]
  }
}

Create or Update Suppression Rules

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

The request has succeeded.

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

{
  "rules": [
    {
      "rule_id": "text",
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z",
      "created_by": "text",
      "updated_by": "text",
      "description": "text",
      "expression": "text",
      "is_basic": true,
      "is_timebased": true,
      "timeslots": [
        {
          "time_zone": "text",
          "start_time": "text",
          "end_time": "text",
          "is_allday": true,
          "repetition": "text",
          "is_custom": true,
          "custom": {
            "repeats_count": 1,
            "repeats": "text",
            "repeats_on_weekdays": [
              1
            ],
            "repeats_on_month": "text"
          },
          "ends_never": true,
          "ends_on": "text"
        }
      ],
      "basic_expression": [
        {
          "lhs": "text",
          "op": "text",
          "rhs": "text"
        }
      ]
    }
  ]
}
{
  "data": {
    "id": "text",
    "created_at": "2026-01-01T00:00:00.000Z",
    "updated_at": "2026-01-01T00:00:00.000Z",
    "service_id": "text",
    "organization_id": "text",
    "rules": [
      {
        "rule_id": "text",
        "created_at": "2026-01-01T00:00:00.000Z",
        "updated_at": "2026-01-01T00:00:00.000Z",
        "created_by": "text",
        "updated_by": "text",
        "description": "text",
        "expression": "text",
        "is_basic": true,
        "is_timebased": true,
        "timeslots": [
          {
            "time_zone": "text",
            "start_time": "text",
            "end_time": "text",
            "is_allday": true,
            "repetition": "text",
            "is_custom": true,
            "custom": {
              "repeats_count": 1,
              "repeats": "text",
              "repeats_on_weekdays": [
                1
              ],
              "repeats_on_month": "text"
            },
            "ends_never": true,
            "ends_on": "text"
          }
        ],
        "basic_expression": [
          {
            "lhs": "text",
            "op": "text",
            "rhs": "text"
          }
        ]
      }
    ]
  }
}

Last updated