I appreciate your response, specifically, this is regarding: https://apigw-prod2.central.arubanetworks.com/swagger/central/#!/Site/sites_external_controller_delete_site
In order to pull the "site_id", I must first list all sites as it is not displayed in the UI of Aruba Central unless I am missing something. When we decommission a site, the automated process should disassociate all hardware from the site in Central, delete the site, and then also remove the site from it's configuration group.
As there is no immediately identifiable site_id listed in Central, we must start by finding the "site_id", and from what I've found in the API, it appears to only be identifiable in the list sites functions of the API.
https://apigw-prod2.central.arubanetworks.com/swagger/central/#!/Site/sites_external_controller_get_sites
Identification of each device when queried lists the "site_name" as "site", but does not list the "site_id." Ideally, i want to be able to query a mac address/serial of a device or the "site_name" and get a response back of which "site_id" each is associated.