---
search:
  tags:
    - projects
    - POST
seo:
  description: >-
    Allows reordering components and items at the same… Reference for the POST
    /projects/{projectId}/components/tree/sort endpoint in the Leadtime Public
    API API.
sidebar:
  badge: POST
  label: Move/reorder items in project component tree
title: Move/reorder items in project component tree
type: openapi-operation
---
Allows reordering components and items at the same level, reparenting items to different components or parent items, and moving items between components (automatically updates componentId for all descendants). Automatically handles side-effects including conditions recalculation, configurationChanged flag updates, summary generation checks, and timeframe updates.

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