Sign in

Update goal

documented

Update an existing goal.

PATCH \/api\/resource\/goals\/{id}Alerts & 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://www.rescuetime.com/api/resource/goals/{{$id}}" \
  -X PATCH \
  -H "Authorization: Bearer {{RESCUETIME_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"goal": {"name": "{{$name}}", "target_minutes": {{$target_minutes}}, "frequency": "{{$frequency}}", "enabled": {{$enabled}}}}'
Update goal · RescueTime · OpenIntegrations