---
search:
  tags:
    - projects
    - DELETE
seo:
  description: >-
    Deletes a test case from a project… Reference for the DELETE
    /projects/{projectId}/items/{itemId}/testcases/{id} endpoint in the Leadtime
    Public API API.
sidebar:
  badge: DELETE
  label: Delete (soft delete) a test case
title: Delete (soft delete) a test case
type: openapi-operation
---
Deletes a test case from a project component item (soft delete - sets deletedAt timestamp). Test cases are used to define test scenarios with steps and expected results for component items. This endpoint validates that the test case exists and belongs to a component item in the specified project. The service automatically triggers condition cleanup, recalculation, and timeframe updates.

<Operation source="api-reference" id="projectcomponentscontroller-deletetestcase" />
