---
search:
  tags:
    - projects
    - DELETE
seo:
  description: >-
    Soft deletes a component by setting the deletedAt… Reference for the DELETE
    /projects/{projectId}/components/{id} endpoint in the Leadtime Public API
    API.
sidebar:
  badge: DELETE
  label: Delete (soft delete) a component in a project
title: Delete (soft delete) a component in a project
type: openapi-operation
---
Soft deletes a component by setting the deletedAt timestamp. The component is marked as deleted but not permanently removed from the database. Automatically cleans up invalid condition targets, recalculates project conditions, updates project configurationChanged flag, and updates timeframes.

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