Transition the status of a specific Scenario version

Change the status of a given version of a scenario under a specified scenario configuration. Provide the new status in the request body.

Valid State Transitions:

  • From DRAFT: can go to PREPARING_DATA.
  • From DISABLED: can go to ENABLED or ARCHIVED.
  • From ENABLED: can go to DISABLED.

Automatic State Transitions (cannot be requested):

  • From PREPARING_DATA: moves to DISABLED once the data is available.
Path Params
uuid
required

Scenario Configuration Identifier containing the scenario

uuid
required

Unique identifier of the Scenario

int32
required

Version of the scenario

Body Params

Status to transition to

string
enum
required

The status to move the version to. See the transition operation for the transitions that can be requested.

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json