Update user
documentedUpdate user profile settings (timezone, week start, display name, access).
PATCH \/api\/resource\/users\/{id}Users, Accounts & Organizationsno 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.rescuetime.com/api/resource/users/{{$user_id}}" \
-X PATCH \
-H "Authorization: Bearer {{RESCUETIME_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"user": {"time_zone": "{{$time_zone}}", "week_start_day": {{$week_start_day}}, "display_name": "{{$display_name}}", "restricted_access": {{$restricted_access}}}}'