Per the Wiz API reference: the endpoint is tenant-specific. Get the data center from Profile, Tenant Info - never guess.

Context: Problem: Connection failures against the Wiz API. The API host is per-tenant: https://api.YOUR-DC.app.wiz.io where DC is one of us1, us2, us18, us53, eu1, eu2 for commercial, app.wiz.us for US sovereign, or gov.wiz.io for FedRAMP. Find your data center in the Wiz portal under Profile, then Tenant Info, then Data Center and Regions (the dc claim on a decoded bearer names it too). A wrong base_url produces DNS failure, 404, or 401-on-handshake - surface it to the user instead of retrying.