Skip to main content

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}
ParameterInTypeRequiredDescription
projectpathstringyesThe project's public id.
featurepathstringyesFeature id or name.
curl -X DELETE -H "Authorization: Bearer $TESTVIBE_API_KEY" \
"$TESTVIBE_SERVER/api/v1/ops/projects/$PROJECT/features/12"

Response

{ "ok": true }

Errors

HTTPWhen
404 not_foundNo such feature in this project.
409 conflictThe feature is generating right now — cancel the generation before deleting it.