Example request to ZPA API
Using the following example, you can get the global policy set ID for a specific ZPA tenant by sending a GET request to the endpoint /mgmtconfig/v1/admin/customers/:customerId/policySet/global.
- In the workspace where you added your collection, go to Collections.
- Click the OneAPI folder and then click the Zscaler Private Access (ZPA) folder.
- Go to Policy Set > Get the global policy. The
/mgmtconfig/v1/admin/customers/:customerId/policySet/globalrequest appears on the right-side pane. - On the Params tab, verify that you are using the correct
customerId.
Under Path Variables, enter your customer ID into the Value field for the customerId Key.
- Click Send.
A successful response returns a Status: 200 OK message and a response body