Skip to main content

delete_load_test

Delete a load test (a kind load feature) and its stored configuration and generated k6 script. This only affects load tests — functional features are untouched, and a 409 is returned if the target turns out to be a functional feature.

warning

Deletion is permanent. Past load runs live on the run spine and are not removed by this call.

Request

DELETE /api/v1/ops/projects/{project}/load/{loadTest}
ParameterInTypeRequiredDescription
projectpathstringyesThe project's public id.
loadTestpathstringyesLoad test id or name (see list_load_tests).
curl -X DELETE -H "Authorization: Bearer $TESTVIBE_API_KEY" \
"$TESTVIBE_SERVER/api/v1/ops/projects/$PROJECT/load/51"

Response

200 OK

{ "deleted": true, "featureId": 51 }

Errors

HTTPWhen
404 not_foundNo such load test in this project.
409 conflictThe target feature is not a load test.