circle-info
Squadcast is now SolarWinds Incident Response

Slos.FalsePositive

Overview

Available Operations

  • mark - Mark SLO False Positive

mark

Value is a boolean (true or false)

Example Usage

from squadcast_sdk import SquadcastSDK


with SquadcastSDK(
    bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as ss_client:

    res = ss_client.slos.false_positive.mark(slo_id=825843, incident_id=505067, value=True, owner_id="<id>", request_body={})

    # Handle response
    print(res)

Parameters

Parameter
Type
Required
Description

slo_id

int

✔️

N/A

incident_id

int

✔️

N/A

value

bool

✔️

N/A

owner_id

str

✔️

N/A

retries

Configuration to override the default retry behavior of the client.

Response

models.SLOMarkSLOFalsePositiveResponse

Errors

Error Type
Status Code
Content Type

errors.BadRequestError

400

application/json

errors.UnauthorizedError

401

application/json

errors.PaymentRequiredError

402

application/json

errors.ForbiddenError

403

application/json

errors.NotFoundError

404

application/json

errors.ConflictError

409

application/json

errors.UnprocessableEntityError

422

application/json

errors.InternalServerError

500

application/json

errors.BadGatewayError

502

application/json

errors.ServiceUnavailableError

503

application/json

errors.GatewayTimeoutError

504

application/json

errors.SDKDefaultError

4XX, 5XX

*/*

Last updated