Zum Inhalt springen
Leadtime
Deutsch
Esc
navigateopen⌘Jpreview

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 · headerrequired
Scopes:api:write
or
AuthorizationBearer token (JWT) · headerrequired
Path parameters
idstringrequired
Query parameters
fieldsToReturnstring
Comma-separated list of top-level response fields to return. Overrides the endpoint compact default unless responseShape=full is used.
responseShapestring
Advanced 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:compactfull
Header parameters
LT-Response-Shapestring
Advanced override. Set to full only when you need the complete endpoint response, including nested fields that are not selectable with fieldsToReturn.
Allowed:full
Request body
requiredapplication/json
iconstring
Icon for the task status in format :icon_name: (e.g., :hourglass_flowing_sand:, :check_mark:, :x:)
namestring
Name of the task status
translationsTaskStatusTranslationDto[]
Translations for the task status
Show properties
Array of TaskStatusTranslationDto
languagestringrequired
Language code (e.g., "en", "de")
namestringrequired
Translated name of the task status
typestring
Type of the task status
Allowed:NewInProgressFeedbackBacklogResolvedClosed
Responses
200Task status updated successfully
iconstringrequired
Icon for the task status in format :icon_name: (e.g., :hourglass_flowing_sand:, :check_mark:, :x:)
idstringrequired
Unique identifier of the task status
namestringrequired
Name of the task status
sortnumberrequired
Sort order of the task status
translationsTaskStatusTranslationDto[]required
Translations for the task status
Show properties
Array of TaskStatusTranslationDto
languagestringrequired
Language code (e.g., "en", "de")
namestringrequired
Translated name of the task status
typestringrequired
Type of the task status
Allowed:NewInProgressFeedbackBacklogResolvedClosed
401Unauthorized - 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"
}'
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"
}