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