---
search:
  tags:
    - administration
    - POST
seo:
  description: >-
    Creates a copy of an existing… Reference for the POST
    /administration/project-components/components/{id}/duplicate endpoint in the
    Leadtime Public API API.
sidebar:
  badge: POST
  label: Duplicate a component within the library
title: Duplicate a component within the library
type: openapi-operation
---
Creates a copy of an existing library component including all nested data (items, questions, todos, test cases, and conditions). The duplicated component is automatically named with "(Copy)" suffix and placed immediately after the original component in the sort order. Condition references are automatically updated to point to the new duplicated items. Recalculates conditions and timeframes. Only library components (projectId is null) can be duplicated through this endpoint.

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