Delete component item
Soft deletes a component item (epic, feature, task) in a project component. The item will be marked as deleted but not permanently removed. Automatically cleans up invalid condition targets and recalculates project conditions.
DELETE
/projects/{projectId}/items/{id}Authorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
projectIdstringrequiredProject UUID
idstringrequiredComponent item UUID
Responses
200Item deleted successfully
successboolean400Invalid projectId or item id format
401Unauthorized - Invalid or missing authentication token
403Insufficient permissions to manage components or access to project denied
404Item not found or does not belong to a component in the specified project
Request
curl -X DELETE "https://leadtime.app/api/public/projects/550e8400-e29b-41d4-a716-446655440000/items/3047983b-d798-4aff-8dd4-628cf1900703" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/projects/550e8400-e29b-41d4-a716-446655440000/items/3047983b-d798-4aff-8dd4-628cf1900703", {
method: "DELETE",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.delete(
"https://leadtime.app/api/public/projects/550e8400-e29b-41d4-a716-446655440000/items/3047983b-d798-4aff-8dd4-628cf1900703",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
{
"success": true
}Invalid projectId or item id format
Unauthorized - Invalid or missing authentication token
Insufficient permissions to manage components or access to project denied
Item not found or does not belong to a component in the specified project