Sign in

Update goal

documented

Update an existing goal by ID.

PUT /api/v2/goals/{id}Goalsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$subdomain}}.executestrategy.net/api/v2/goals/{{$id}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"goal": {"id": {{$id}}, "title": "{{$title}}", "action": "{{$action}}", "details": "{{$details}}", "start_time": "{{$start_time}}", "end_time": "{{$end_time}}", "progress": {{$progress}}, "target": {{$target}}, "unit_id": {{$unit_id}}, "weight_id": {{$weight_id}}, "status": "{{$status}}", "tracking_type": "{{$tracking_type}}", "is_private": {{$is_private}}}}'"
Update goal · cascade · OpenIntegrations