Partially update project status
Partially updates an existing project status. Only provided fields will be updated.
Optional fields (update only what you need):
name: Update display nameicon: Update icon identifiertype: Update status type (may affect billing eligibility)description: Update or clear descriptiontranslations: Update translations (partial updates supported)
Note: Fields not included in the request will remain unchanged. This is useful when you only need to update specific properties without fetching the full current state.
PATCH
/administration/project-settings/statuses/{id}Authorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstringrequiredRequest body
requiredapplication/jsondescriptionobjectDescription of the project status
iconstringIcon for the project status in format :icon_name:
namestringName of the project status
translationsProjectStatusTranslationDto[]Translations for the project status
Show propertiesHide properties
Array of
ProjectStatusTranslationDtodescriptionobjectTranslated description of the project status in this language. Provides context about when to use this status.
languagestringrequiredISO 639-1 language code for the translation (e.g., "en" for English, "de" for German)
nameobjectTranslated name of the project status in this language. Used for multilingual display in the user interface.
typestringType of the project status
Allowed:
SalesRequirementsImplementationQualityManagementBillingDoneResponses
200Project status updated successfully
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X PATCH "https://leadtime.app/api/public/administration/project-settings/statuses/string" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"description": "Project is currently in development phase",
"icon": ":hourglass_flowing_sand:",
"name": "In Progress",
"translations": [
{
"description": "Project is currently in progress",
"language": "en",
"name": "In Progress"
}
],
"type": "Implementation"
}'const response = await fetch("https://leadtime.app/api/public/administration/project-settings/statuses/string", {
method: "PATCH",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"description": "Project is currently in development phase",
"icon": ":hourglass_flowing_sand:",
"name": "In Progress",
"translations": [
{
"description": "Project is currently in progress",
"language": "en",
"name": "In Progress"
}
],
"type": "Implementation"
})
});import requests
response = requests.patch(
"https://leadtime.app/api/public/administration/project-settings/statuses/string",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
},
json={
"description": "Project is currently in development phase",
"icon": ":hourglass_flowing_sand:",
"name": "In Progress",
"translations": [
{
"description": "Project is currently in progress",
"language": "en",
"name": "In Progress"
}
],
"type": "Implementation"
},
)Response
Project status updated successfully
Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions