capabilities.work

Decommission a Monitored Location

A 3-step recipe with Tomorrow.io. We can help you get access.

Recipe · 3 steps

Decommission a Monitored Location

Verify a location, unlink it from an alert, and delete it.

  1. Confirm the saved location resource exists before unlinking and deleting it.
  2. Detach the location from the alert so the alert stops evaluating it.
  3. Delete the saved location resource now that it is no longer bound to the alert.
What you'll need to have ready
  • apikey: Tomorrow.io API key passed as the apikey query parameter.
  • locationId: Identifier of the saved location to decommission.
  • alertId: Identifier of the alert the location should be detached from.
For your developer

Arazzo workflow tomorrow-io:decommission-location, 3 operations: getLocation → unlinkAlertLocations → deleteLocation. Specs on APIs.io.