Delete project category
Deletes a project category using soft delete (marked as deleted but not permanently removed).
Important considerations:
- The category will no longer appear in lists or be available for new projects
- Existing projects using this category will retain their reference
- Deleted categories can be restored using the restore defaults endpoint
Note: This operation requires workspace settings management permission.
DELETE
/administration/project-settings/categories/{id}Authorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstringrequiredResponses
200Project category deleted successfully
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X DELETE "https://leadtime.app/api/public/administration/project-settings/categories/string" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/administration/project-settings/categories/string", {
method: "DELETE",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.delete(
"https://leadtime.app/api/public/administration/project-settings/categories/string",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
Project category deleted successfully
Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions