v1
OpenAPI 3.1.02026-07-13632897.9 KBPriority Guardian Priorities
Update Goal
Update a goal (toggle achieved or rename).
Args: goal_id: Goal ID (UUID string) request: Partial update fields user_id: User ID from validated JWT session: Database session
Returns: 200: Full priorities response 404: Goal not found or parent priority belongs to different user
put/api/priority-guardian/goals/{goal_id}
Path parameters
goal_idstring required
Headers
X-Internal-Secretstring nullable
X-User-IDstring nullable
Request body
Response
Successful Response
{"stackTrail":"paths:/api/priority-guardian/goals/{goal_id}:put:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}