Update device
documentedUpdate a device's details.
PATCH \/api\/resource\/devices\/{id}Time Trackingno 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/devices/{{$id}}" \
-X PATCH \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{RESCUETIME_API_KEY}}" \
-d '{"device": {"device_name": "{{$device_name}}", "active": {{$active}}}}'