curl -L 'http://host:port/api/stacks' -H 'Accept: application/json' -H 'x-api-key: API_KEY_HERE' | jq '{ids: map(.id)}' | curl -L -X DELETE 'http://host:port/api/stacks' -H 'Content-Type: application/json' -H 'x-api-key: API_KEY_HERE' -T -