Sign in

Update alert

documented

Update an existing alert.

PATCH \/api\/resource\/alerts\/{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/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}}}}'