Skip to main content
PATCH
Update scenario

Path Parameters

scenarioShortId
string
required
Pattern: ^scenario(-.+_.+|_.+)$

Body

application/json
name
string

New folder name, unique among its siblings.

Required string length: 1 - 100
parentScenarioShortId
string | null

Move the folder, with everything in it, inside this one. Pass null to move it to the root.

Pattern: ^scenario(-.+_.+|_.+)$
projectShortId
string

Target a specific project by its prefixed short ID (proj-slug_shortId or proj_shortId), as returned by the projects API. Required for organization-scoped API keys; project-scoped keys may only pass their own project's short ID.

Pattern: ^proj(-.+_.+|_.+)$

Response

200 - application/json

The request has succeeded.

success
boolean
required
scenario
object
required