Zum Inhalt springen
Leadtime
Deutsch
Esc
navigateopen⌘Jpreview

Delete task type

Soft deletes a task type from the workspace.

How soft delete works:

  • The task type is marked as deleted but not permanently removed
  • Existing tasks of this type retain the type reference
  • The task type no longer appears in type lists or can be assigned to new tasks
  • The task type can potentially be restored if needed

Important considerations:

  • The task type will be removed from all projects where it was assigned
  • Tasks currently using this type will keep the type but it will not be available for new task creation
  • This action should be used carefully as it affects workflows

Note: Consider updating existing tasks to use a different type before deleting if you want to maintain workflow continuity.

DELETE/administration/task-settings/types/{id}
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:write
or
AuthorizationBearer token (JWT) · headerrequired
Path parameters
idstringrequired
Responses
200Task type deleted successfully
successboolean
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X DELETE "https://leadtime.app/api/public/administration/task-settings/types/string" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Response
{
  "success": true
}