JavaScript
Simulation Scenario
Update a scenario
Updates an existing simulation scenario by its ID.
PUT
JavaScript
Documentation Index
Fetch the complete documentation index at: https://docs.roark.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the scenario to update
Body
application/json
Input for updating an existing scenario
stepChanges
(CreateStepChange · object | UpdateStepChange · object | DeleteStepChange · object)[]
required
List of step changes to apply to the scenario
Create a new step in the scenario
- CreateStepChange
- UpdateStepChange
- DeleteStepChange
New name for the scenario (updates the START node content)
Minimum string length:
1Response
The updated scenario

