circle-info
Squadcast is now SolarWinds Incident Response

GlobalOncallReminderRules

Overview

Available Operations

  • delete - Delete Global Oncall Reminder Rules

  • get - Get Global Oncall Reminder Rules

  • create - Create Global Oncall Reminder Rules

  • update - Update Global Oncall Reminder Rules

delete

Delete Global Oncall Reminder Rules

Example Usage

from squadcast_sdk import SquadcastSDK


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

    res = ss_client.global_oncall_reminder_rules.delete(owner_id="<id>")

    # Handle response
    print(res)

Parameters

Parameter
Type
Required
Description

owner_id

str

✔️

N/A

retries

Configuration to override the default retry behavior of the client.

Response

bytesarrow-up-right

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

*/*

get

Get Global Oncall Reminder Rules

Example Usage

Parameters

Parameter
Type
Required
Description

owner_id

str

✔️

required *

retries

Configuration to override the default retry behavior of the client.

Response

models.GlobalOncallReminderRulesGetGlobalOncallReminderRulesResponse

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

*/*

create

Create Global Oncall Reminder Rules

Example Usage

Parameters

Parameter
Type
Required
Description

is_enabled

bool

✔️

N/A

owner_id

str

✔️

N/A

retries

Configuration to override the default retry behavior of the client.

Response

models.GlobalOncallReminderRulesCreateGlobalOncallReminderRulesResponse

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

*/*

update

Update Global Oncall Reminder Rules

Example Usage

Parameters

Parameter
Type
Required
Description

owner_id

str

✔️

N/A

is_enabled

bool

✔️

N/A

retries

Configuration to override the default retry behavior of the client.

Response

models.GlobalOncallReminderRulesUpdateGlobalOncallReminderRulesResponse

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