Path parameters
ID of the task to update.
Request body
All body fields are optional. Omitting a field leaves its current value unchanged. At least one field should be provided.New display name for the task.
New description. Pass an explicit
null to clear an existing description.Updated points value. Must be greater than zero.
Updated daily routine flag.
Response
200 OK — Returns the updated task object.Unique identifier for the task.
UUID of the user who owns the task.
ID of the associated challenge template, or
null.Display name of the task.
Description, or
null.Points awarded per completion.
Whether the task is flagged as a daily routine.
ISO 8601 creation timestamp. Unchanged by this request.
ISO 8601 timestamp set to the time of this update.
Errors
| Status | Condition |
|---|---|
400 | points is provided but is zero or negative. |
400 | The task exists but belongs to a different user. |
404 | No task found with the given taskId. |
401 | Missing or invalid authentication token. |