Zum Inhalt springen
Leadtime
Deutsch
Esc
navigateopen⌘Jpreview

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 · headerrequired
Scopes:api:write
or
AuthorizationBearer token (JWT) · headerrequired
Path parameters
projectIdstringrequired
Project UUID
itemIdstringrequired
Component item UUID. Items are the building blocks within components (Epics, Work Packages, Todo Lists, Test Suites).
questionIdstringrequired
Question UUID
Responses
200Question deleted successfully
successboolean
400Invalid 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"
Response
{
  "success": true
}