---
search:
  tags:
    - projects
    - PATCH
seo:
  description: >-
    Partially updates an existing test case… Reference for the PATCH
    /projects/{projectId}/items/{itemId}/testcases/{id} endpoint in the Leadtime
    Public API API.
sidebar:
  badge: PATCH
  label: Update an existing test case
title: Update an existing test case
type: openapi-operation
---
Partially updates an existing test case for a component item within a project. Only provided fields will be updated. Editor content (description, steps, expectedResult) accepts HTML or Markdown input when provided.

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