Extracting Management Zone IDs from Dynatrace SaaS Tenant

We are collecting few SLO/Infrastructure metrics from Dynatrace through a Python Script (Based on AppCodes). Since we kept our Prod and DR servers in different MZs, the output is with multiple mzIDs.. To filter Prod data, we needed the mzIDs.