Tests
The scenarios a version must pass, drafted or written, and the runs that check it before your users see it.
DELETE/v1/deployments/{deployment_id}/scenarios/{scenario_id}Remove one.
Request2 fields
Path
deployment_idstringrequiredThe deployment's id (dep_...). The /v1/deployments routes also take its name.
- Type
string
scenario_idstringrequiredThe test scenario's id (scn_...).
- Type
string
Answers 2003 fields
idstringThe deleted scenario's id.
- Type
string
object"scenario"Always scenario.
- Type
"scenario"
deletedtrueAlways true: no test run plays it again.
- Type
true
No sample in your language for this route, so here it is over HTTP.
curl -X DELETE "$VESTRA_BASE_URL/v1/deployments/{deployment_id}/scenarios/{scenario_id}" \ -H "Authorization: Bearer $VESTRA_API_KEY"