Goals
Update Goal
Update an existing goal details. Supports partial updates where only the fields that are provided in the request body will be updated. <br><br>Cycle Management: You can assign a goal to a cycle, move it between cycles, or unassign it from a cycle using the cycleId field:
- To assign to a cycle: provide a valid cycle ID
- To move between cycles: provide a different cycle ID
- To unassign from a cycle: provide null as the value
- To keep the current cycle: omit the field entirely
<br>Note: Goal status updates are not supported via this endpoint. Use the Update Goal Status endpoint instead.
patch/goals/goals/{goalId}
Path parameters
goalIdinteger required
The unique identifier of the goal to update
Request body
Response
Goal updated successfully
Example response
{
"success": true,
"goalId": 123
}