Skip to main content
PATCH
Update a scenario

Authorizations

Authorization
string
header
required

nia_sk_...

Path Parameters

scenario_id
string
required

Body

application/json
assertions
ReplayAssertion · object[] | null
Maximum array length: 50
name
string | null
Required string length: 1 - 256
status
enum<string> | null
Available options:
active,
retired

Response

The scenario after the change.

assertions
ReplayAssertion · object[]
required
created_at
string<date-time>
required
name
string
required
origin
enum<string>
required
Available options:
manual,
report
scenario_id
string
required
Required string length: 1 - 512
status
enum<string>
required
Available options:
active,
retired
turn_ids
string[]
required
Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$
updated_at
string<date-time>
required
version
integer
required

Grows with every change of the name, the assertions or the status.