Update a user goal
documentedUpdate a user’s goal (goal_type cannot be changed with this endpoint).
PUT /users/{u}/goals/{g}.jsonUsersno implementation yet0 runsNo 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://www.beeminder.com/api/v1/users/{{$user_id}}/goals/{{$goal_slug}}.json" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "title={{$title}}" \
-d "secret={{$secret}}" \
-d "datapublic={{$datapublic}}" \
# Source: Beeminder API docs (https://www.beeminder.com/api/v1/)