---
search:
  tags:
    - administration
    - PATCH
seo:
  description: >-
    Updates an… Reference for the PATCH
    /administration/project-components/item-details/{itemId}/testcases/{testCaseId}
    endpoint in the Leadtime Public API.
sidebar:
  label: Update an existing testcase
  badge: PATCH
title: Update an existing testcase
type: openapi-operation
---
Updates an existing test case for a library component item. All fields are optional for partial updates. Editor content (description, steps, expectedResult) accepts HTML or Markdown input and returns HTML output. Only library component test cases can be updated.

`PATCH /administration/project-components/item-details/{itemId}/testcases/{testCaseId}`
