Update task status
Updates an existing task status. All fields are required - provide complete status configuration.
What can be updated:
- Status name
- Icon
- Status type
- Multilingual translations
Important: This is a full update - all fields must be provided. If a field is not provided, it will use the existing value. Use the PATCH endpoint for partial updates.
PUT
/administration/task-settings/statuses/{id}Authorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstringrequiredQuery parameters
fieldsToReturnstringComma-separated list of top-level response fields to return. Overrides the endpoint compact default unless responseShape=full is used.
responseShapestringAdvanced override. Omit for the endpoint compact default. Use full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
Allowed:
compactfullHeader parameters
LT-Response-ShapestringAdvanced override. Set to full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
Allowed:
fullRequest body
requiredapplication/jsoniconstringIcon for the task status in format :icon_name: (e.g., :hourglass_flowing_sand:, :check_mark:, :x:)
namestringName of the task status
translationsTaskStatusTranslationDto[]Translations for the task status
Show propertiesHide properties
Array of
TaskStatusTranslationDtolanguagestringrequiredLanguage code (e.g., "en", "de")
namestringrequiredTranslated name of the task status
typestringType of the task status
Allowed:
NewInProgressFeedbackBacklogResolvedClosedResponses
200Task status updated successfully
iconstringrequiredIcon for the task status in format :icon_name: (e.g., :hourglass_flowing_sand:, :check_mark:, :x:)
idstringrequiredUnique identifier of the task status
namestringrequiredName of the task status
sortnumberrequiredSort order of the task status
translationsTaskStatusTranslationDto[]requiredTranslations for the task status
Show propertiesHide properties
Array of
TaskStatusTranslationDtolanguagestringrequiredLanguage code (e.g., "en", "de")
namestringrequiredTranslated name of the task status
typestringrequiredType of the task status
Allowed:
NewInProgressFeedbackBacklogResolvedClosed401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
Request
curl -X PUT "https://leadtime.app/api/public/administration/task-settings/statuses/string" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"icon": ":hourglass_flowing_sand:",
"name": "In Progress",
"translations": [
{
"language": "en",
"name": "In Progress"
},
{
"language": "de",
"name": "In Bearbeitung"
}
],
"type": "InProgress"
}'const response = await fetch("https://leadtime.app/api/public/administration/task-settings/statuses/string", {
method: "PUT",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"icon": ":hourglass_flowing_sand:",
"name": "In Progress",
"translations": [
{
"language": "en",
"name": "In Progress"
},
{
"language": "de",
"name": "In Bearbeitung"
}
],
"type": "InProgress"
})
});import requests
response = requests.put(
"https://leadtime.app/api/public/administration/task-settings/statuses/string",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "application/json"
},
json={
"icon": ":hourglass_flowing_sand:",
"name": "In Progress",
"translations": [
{
"language": "en",
"name": "In Progress"
},
{
"language": "de",
"name": "In Bearbeitung"
}
],
"type": "InProgress"
},
)Response
{
"icon": ":hourglass_flowing_sand:",
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "In Progress",
"sort": 1,
"translations": [
{
"language": "en",
"name": "In Progress"
},
{
"language": "de",
"name": "In Bearbeitung"
}
],
"type": "InProgress"
}Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions