This script shows an example of tapping the FireHydrant API to fetch the UUIDs of all services in the catalog and then making additional API calls to delete them.
This was tested on macOS Monterey v12.3.1 on a 2021 14" MacBook Pro with an M1 Pro chip. Since it's UNIX, there may be some incompatibilies with the curl
and jq
commands on other operating systems like Linux or Windows. Beware!!