---
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 API.
sidebar:
  badge: PATCH
  label: Update an existing testcase
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.

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