Skip to main content

Restore workflow version

Restore a previous version of a workflow as the latest version

Path Parameters
  • workflow_id string required

    Workflow identifier

  • version integer required

    Possible values: >= 1

    Workflow version number

Header Parameters
  • SlashID-OrgID string required

    The organization ID

    Example: af5fbd30-7ce7-4548-8b30-4cd59cb2aba1
Responses

Workflow version restored successfully


Schema
  • meta object
  • pagination object
  • limit integer
  • offset integer
  • total_count int64
  • errors object[]
  • httpcode integer
  • message string
  • result object
  • id string

    Unique configuration identifier

  • workflow_id string

    Parent workflow ID

  • org_id string

    Organization ID

  • version integer

    Possible values: >= 1

    Configuration version number

  • data_input_config object
    oneOf

  • type string

    Possible values: [detection]

    Data input type discriminator

  • scim_filter string

    Possible values: non-empty

    SCIM filter string to apply when querying detections. Examples:

    • severity eq "critical"
    • type eq "aws_identity_unused" and status eq "new"
    • entity_type eq "aws_iam_user"
    • severity eq "critical" or severity eq "high"
  • limit integer

    Possible values: <= 10000

    Maximum number of detections to retrieve (0 for no limit)

  • sorting object[]

    Sorting configuration for results

  • field string

    Field to sort by

  • direction string

    Possible values: [asc, desc]

    Default value: desc

    Sort direction

  • actions object[]

    Possible values: >= 1

    List of actions to execute

  • created_by string

    User ID who created this version

  • created_at date-time

    Version creation timestamp

  • is_latest boolean

    Whether this is the latest version