Skip to content
Leadtime
English
Esc
navigateopen⌘Jpreview

Delete a testcase (soft delete)

Deletes a test case from a library component item (soft delete - sets deletedAt timestamp). Only library component test cases can be deleted.

DELETE/administration/project-components/item-details/{itemId}/testcases/{testCaseId}
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:write
or
AuthorizationBearer token (JWT) · headerrequired
Path parameters
itemIdstringrequired
Component item UUID. Items are the building blocks within components (Epics, Work Packages, Todo Lists, Test Suites).
testCaseIdstringrequired
Test case UUID
Responses
200
successboolean
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X DELETE "https://leadtime.app/api/public/administration/project-components/item-details/3047983b-d798-4aff-8dd4-628cf1900703/testcases/550e8400-e29b-41d4-a716-446655440010" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response
{
  "success": true
}