Delete a prompt test case
DELETE
/v1/prompts/{slug}/test-cases/{testCaseId}Delete a prompt test case.
Deletes the test case. Requires an admin of the prompt's workspace, or an organization admin. 404 when the prompt or test case does not exist.
Authorization
AuthorizationBearer va_A platform API key (
va_...), created under Settings > API keys. Scoped to an organization or one workspace, with an admin or member role. Used by the management API.
Path parameters
slugstringrequiredthe prompt's slug
testCaseIdstring<uuid>requiredthe test case's id (UUID)
Query parameters
organizationstringrequiredslug of the organization that owns it
Responses
204
No Content