Sign in

Update alert preferences

documented

Update an alert's notification/weight preferences.

PUT /api/accounts/{account_id}/alerts/{alert_id}/preferencesAlertsno 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://api.mention.net/api/accounts/{{$account_id}}/alerts/{{$alert_id}}/preferences" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept-Version: 1.19" \
  -d '{"push_notification_frequency":"{{$push_notification_frequency}}","weight":{{$weight}}}'