Delete a question from a project component item
Soft deletes a question from a component item within a project. The question must exist and belong to the specified component item in the project. This operation automatically cleans up invalid condition targets, recalculates conditions, updates component item timeframes, and marks the project configuration as changed.
DELETE
/projects/{projectId}/items/{itemId}/questions/{questionId}Authorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
projectIdstringrequiredProject UUID
itemIdstringrequiredComponent item UUID. Items are the building blocks within components (Epics, Work Packages, Todo Lists, Test Suites).
questionIdstringrequiredQuestion UUID
Responses
200Question deleted successfully
successboolean400Invalid project ID, item ID, or question ID format
401Unauthorized - Invalid or missing authentication token
403Insufficient permissions to manage components or access to project denied
404Question not found, item not found, or item does not belong to the project
Request
curl -X DELETE "https://leadtime.app/api/public/projects/123e4567-e89b-12d3-a456-426614174000/items/3047983b-d798-4aff-8dd4-628cf1900703/questions/e57dc37b-7693-4d06-b49c-17084b773aff" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/projects/123e4567-e89b-12d3-a456-426614174000/items/3047983b-d798-4aff-8dd4-628cf1900703/questions/e57dc37b-7693-4d06-b49c-17084b773aff", {
method: "DELETE",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.delete(
"https://leadtime.app/api/public/projects/123e4567-e89b-12d3-a456-426614174000/items/3047983b-d798-4aff-8dd4-628cf1900703/questions/e57dc37b-7693-4d06-b49c-17084b773aff",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
{
"success": true
}Invalid project ID, item ID, or question ID format
Unauthorized - Invalid or missing authentication token
Insufficient permissions to manage components or access to project denied
Question not found, item not found, or item does not belong to the project