Skip to content

resetDemo

POST
/api/v1/demo/reset
curl --request POST \
--url https://example.com/api/v1/demo/reset \
--header 'Content-Type: application/json' \
--data '{ "scenario": "basic" }'

Registered only when TILECAST_ENV is demo. Replaces all data with a scenario and returns once its simulated players have connected. Requires the Owner role and X-CSRF-Token.

Media typeapplication/json
object
scenario
string
Allowed values: basic kitchen-sink

Scenario restored

Owner role or CSRF token missing

Unknown scenario