delete_feature
Delete a feature and its generated test files.
danger
Irreversible. There is no trash or undo — the Gherkin and the generated specs are gone.
Request
DELETE /api/v1/ops/projects/{project}/features/{feature}
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
project | path | string | yes | The project's public id. |
feature | path | string | yes | Feature id or name. |
- cURL
- CLI
- MCP
curl -X DELETE -H "Authorization: Bearer $TESTVIBE_API_KEY" \
"$TESTVIBE_SERVER/api/v1/ops/projects/$PROJECT/features/12"
testvibe features delete 12
Tool delete_feature — { "feature": "12" }.
Response
{ "ok": true }
Errors
| HTTP | When |
|---|---|
404 not_found | No such feature in this project. |
409 conflict | The feature is generating right now — cancel the generation before deleting it. |