Partially update project phase
Partially updates an existing project phase. Only provided fields will be updated.
Optional fields (update only what you need):
name: Update display nameicon: Update icon identifiertype: Update phase type (affects Kanban column placement)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/phases/{id}Authorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstringrequiredRequest body
requiredapplication/jsondescriptionobjectDescription of the project phase
iconstringIcon for the project phase in format :icon_name:
namestringName of the project phase
translationsProjectPhaseTranslationDto[]Translations for the project phase
Show propertiesHide properties
Array of
ProjectPhaseTranslationDtodescriptionobjectTranslated description of the project phase in this language. Provides context about when to use this phase.
languagestringrequiredISO 639-1 language code for the translation (e.g., "en" for English, "de" for German)
nameobjectTranslated name of the project phase in this language. Used for multilingual display in the user interface.
typestringType of the project phase
Allowed:
newinProgressdoneResponses
200Project phase 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/phases/string" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"description": "Initial planning and requirement gathering phase",
"icon": ":calendar:",
"name": "Planning",
"translations": [
{
"description": "Project planning and preparation phase",
"language": "en",
"name": "Planning"
}
],
"type": "new"
}'const response = await fetch("https://leadtime.app/api/public/administration/project-settings/phases/string", {
method: "PATCH",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"description": "Initial planning and requirement gathering phase",
"icon": ":calendar:",
"name": "Planning",
"translations": [
{
"description": "Project planning and preparation phase",
"language": "en",
"name": "Planning"
}
],
"type": "new"
})
});import requests
response = requests.patch(
"https://leadtime.app/api/public/administration/project-settings/phases/string",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
},
json={
"description": "Initial planning and requirement gathering phase",
"icon": ":calendar:",
"name": "Planning",
"translations": [
{
"description": "Project planning and preparation phase",
"language": "en",
"name": "Planning"
}
],
"type": "new"
},
)Response
Project phase updated successfully
Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions