BashBrainTeammatesPricingDevelopersGet a test key

Tests

The scenarios a version must pass, drafted or written, and the runs that check it before your users see it.

Send Authorization: Bearer vk_test_... on every call. Every route of Tests.

DELETE/v1/deployments/{deployment_id}/scenarios/{scenario_id}Remove one.

Your API key, scope setup or all. On the card: test. Over HTTP it is made from the contract: fill in each {…} and every value.

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
HTTP

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"