circle-info
Squadcast is now SolarWinds Incident Response

Workflows

Overview

Available Operations

list

Get a list of all Workflows

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Parameter
Type
Required
Description

request

✔️

The request object to use for the request.

options

RequestOptions

Used to set various options for making HTTP requests.

options.fetchOptions

Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.

options.retries

Enables retrying HTTP requests under certain failure conditions.

Response

Promise<operations.WorkflowsListWorkflowsResponse>

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 a Workflow

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Parameter
Type
Required
Description

request

✔️

The request object to use for the request.

options

RequestOptions

Used to set various options for making HTTP requests.

options.fetchOptions

Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.

options.retries

Enables retrying HTTP requests under certain failure conditions.

Response

Promise<operations.WorkflowsCreateWorkflowResponse>

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

*/*

bulkEnableDisable

Bulk enable or disable workflows

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Parameter
Type
Required
Description

request

✔️

The request object to use for the request.

options

RequestOptions

Used to set various options for making HTTP requests.

options.fetchOptions

Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.

options.retries

Enables retrying HTTP requests under certain failure conditions.

Response

Promise<Uint8Arrayarrow-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

*/*

delete

Delete a workflow by ID

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Parameter
Type
Required
Description

request

✔️

The request object to use for the request.

options

RequestOptions

Used to set various options for making HTTP requests.

options.fetchOptions

Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.

options.retries

Enables retrying HTTP requests under certain failure conditions.

Response

Promise<Uint8Arrayarrow-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

*/*

getById

Get a workflow by ID

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Parameter
Type
Required
Description

request

✔️

The request object to use for the request.

options

RequestOptions

Used to set various options for making HTTP requests.

options.fetchOptions

Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.

options.retries

Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.V3WorkflowsGetWorkflowByIdResponse>

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 a Workflow

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Parameter
Type
Required
Description

request

✔️

The request object to use for the request.

options

RequestOptions

Used to set various options for making HTTP requests.

options.fetchOptions

Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.

options.retries

Enables retrying HTTP requests under certain failure conditions.

Response

Promise<operations.WorkflowsUpdateWorkflowResponse>

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

*/*

updateActionsOrder

Update action order in a workflow

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Parameter
Type
Required
Description

request

✔️

The request object to use for the request.

options

RequestOptions

Used to set various options for making HTTP requests.

options.fetchOptions

Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.

options.retries

Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.V3WorkflowsUpdateActionsOrderResponse>

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

*/*

deleteAction

Delete an action by action ID

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Parameter
Type
Required
Description

request

✔️

The request object to use for the request.

options

RequestOptions

Used to set various options for making HTTP requests.

options.fetchOptions

Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.

options.retries

Enables retrying HTTP requests under certain failure conditions.

Response

Promise<Uint8Arrayarrow-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

*/*

updateAction

Update an action by action ID

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Parameter
Type
Required
Description

request

✔️

The request object to use for the request.

options

RequestOptions

Used to set various options for making HTTP requests.

options.fetchOptions

Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.

options.retries

Enables retrying HTTP requests under certain failure conditions.

Response

Promise<models.V3WorkflowsActionResponse>

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

*/*

enableDisable

Enable or disable workflow by ID

Example Usage

Standalone function

The standalone function version of this method:

Parameters

Parameter
Type
Required
Description

request

✔️

The request object to use for the request.

options

RequestOptions

Used to set various options for making HTTP requests.

options.fetchOptions

Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All Request options, except method and body, are allowed.

options.retries

Enables retrying HTTP requests under certain failure conditions.

Response

Promise<Uint8Arrayarrow-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

*/*

Last updated