Update alert
documentedUpdate an existing alert.
PATCH \/api\/resource\/alerts\/{id}Alerts & Goalsno 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/alerts/{{$id}}" -X PATCH -H "Authorization: Bearer {{RESCUETIME_API_KEY}}" -H "Content-Type: application/json" -H "Accept: application/json" -d '{"alert":{"name":"{{$name}}","alert_type":"{{$alert_type}}","threshold_minutes":{{$threshold_minutes}},"enabled":{{$enabled}}}}'