Restore default project settings
Restores default project categories, statuses, and phases to their original Leadtime configuration.
What gets restored:
- Project categories: Default categories like “New Client Project”, “Change Request”, “Service Order”
- Project statuses: Default statuses (Sales, Requirements, Implementation, Quality Management, Billing, Done)
- Project phases: Default sales pipeline phases (Not contacted, Contact made, Won, Closed, etc.)
Request body:
keepCustom: Boolean flag (default: false)- If false: All custom entries are deleted and defaults are restored
- If true: Custom entries are preserved, defaults are added alongside them
Important considerations:
- This operation cannot be undone
- Existing projects will retain their current category/status/phase assignments
- Custom fields are NOT affected by this operation
- Deleted default entries will be restored
Use cases:
- Reset to clean slate after experimentation
- Restore accidentally deleted default entries
- Standardize workspace configuration across multiple workspaces
POST
/administration/project-settings/restore-defaultsAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredRequest body
requiredapplication/jsonkeepCustombooleanrequiredBoolean flag controlling whether custom entries are preserved when restoring defaults. If false (default), all custom categories, statuses, and phases are deleted and only defaults are restored. If true, custom entries are kept and defaults are added alongside them.
default: false
Responses
200Project settings restored to defaults successfully
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X POST "https://leadtime.app/api/public/administration/project-settings/restore-defaults" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"keepCustom": false
}'const response = await fetch("https://leadtime.app/api/public/administration/project-settings/restore-defaults", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"keepCustom": false
})
});import requests
response = requests.post(
"https://leadtime.app/api/public/administration/project-settings/restore-defaults",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
},
json={
"keepCustom": False
},
)Response
Project settings restored to defaults successfully
Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions