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

Schedules

Overview

Available Operations

List

List Schedules

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

context.Context

✔️

The context to use for the request.

request

✔️

The request object to use for the request.

opts

[]operations.Option

The options for this request.

Response

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

Create

Create Schedule

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

context.Context

✔️

The context to use for the request.

request

✔️

The request object to use for the request.

opts

[]operations.Option

The options for this request.

Response

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

Delete

Delete Schedule

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

context.Context

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

opts

[]operations.Option

The options for this request.

Response

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

GetByID

Get Schedule by ID

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

context.Context

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

opts

[]operations.Option

The options for this request.

Response

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

Update

Update Schedule

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

context.Context

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

v4UpdateScheduleRequest

✔️

N/A

opts

[]operations.Option

The options for this request.

Response

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

PauseResume

Pause/Resume Schedule

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

context.Context

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

requestBody

✔️

N/A

opts

[]operations.Option

The options for this request.

Response

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

ChangeTimezone

Change Timezone

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

context.Context

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

requestBody

✔️

N/A

opts

[]operations.Option

The options for this request.

Response

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

Clone

Clone Schedule

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

context.Context

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

requestBody

✔️

N/A

opts

[]operations.Option

The options for this request.

Response

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

Get Schedule ICal Link

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

context.Context

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

myOnCall

bool

✔️

N/A

opts

[]operations.Option

The options for this request.

Response

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

Refresh Schedule ICal Link

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

context.Context

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

myOnCall

bool

✔️

N/A

requestBody

✔️

N/A

opts

[]operations.Option

The options for this request.

Response

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

Create Schedule ICal Link

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

context.Context

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

myOnCall

bool

✔️

N/A

requestBody

✔️

N/A

opts

[]operations.Option

The options for this request.

Response

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

CreateScheduleOverride

Create Schedule Override

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

context.Context

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

v4CreateScheduleOverrideRequest

✔️

N/A

opts

[]operations.Option

The options for this request.

Response

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

DeleteRotation

Delete Rotation

Example Usage

Parameters

Parameter
Type
Required
Description

ctx

context.Context

✔️

The context to use for the request.

scheduleID

string

✔️

N/A

rotationID

string

✔️

N/A

opts

[]operations.Option

The options for this request.

Response

Errors

Error Type
Status Code
Content Type

apierrors.CommonV4Error

400, 401, 402, 403, 404, 409, 422

application/json

apierrors.CommonV4Error

500, 502, 503, 504

application/json

apierrors.APIError

4XX, 5XX

*/*

Last updated