Skip to main content

Update a scenario

PATCH 

/watch/scenarios/:scenario_id

Change a scenario. Send only the fields to change; an explicit null clears a nullable field (active_hours → any time, usdt_low_threshold → off, notify_destination_ids → every channel). Changes apply to all of the scenario's addresses right away.

Changing action:

  • moving away from add_on_deposit drops the threshold; moving to it without one sets "100";
  • moving to an Energy action turns energy_alerts on; moving to alert_only turns it off unless you send "energy_alerts": true;
  • open deposits close, incoming USDT counts toward the threshold from zero again, and waiting Energy additions are cancelled;
  • when the addresses move between the watch_only and with_energy limits, all of them must fit (409 radar_limit_exceeded).

Switching energy_preset away from custom drops energy_custom.

Request​

Responses​

Successful Response