Skip to main content

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.

  1. In the workspace where you added your collection, go to Collections.
  2. Click the OneAPI folder and then click the Zscaler Private Access (ZPA) folder.
  3. Go to Policy Set > Get the global policy. The /mgmtconfig/v1/admin/customers/:customerId/policySet/global request appears on the right-side pane.
  4. 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.

  1. Click Send.

A successful response returns a Status: 200 OK message and a response body