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}
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project | path | string | yes | The project's public id. |
loadTest | path | string | yes | Load test id or name (see list_load_tests). |
- cURL
- CLI
- MCP
curl -X DELETE -H "Authorization: Bearer $TESTVIBE_API_KEY" \
"$TESTVIBE_SERVER/api/v1/ops/projects/$PROJECT/load/51"
testvibe load delete 51
Tool delete_load_test — { "loadTest": "Checkout under load" }. Marked destructive.
Response
200 OK
{ "deleted": true, "featureId": 51 }
Errors
| HTTP | When |
|---|---|
404 not_found | No such load test in this project. |
409 conflict | The target feature is not a load test. |