Creating an Environment
To add an environment:
-
In the workspace where you added your collection, go to Environments in the workspace.
-
Click Create Environment or click the Add icon.
Alternatively, you can click the Environment quick look icon on the right panel from any location of the Postman application. A new environment is added and opens in a tab.
-
On the environment tab, enter a descriptive name for the environment (e.g., OneAPI) where the current generic name is highlighted.
-
In the variables table, add the variables listed in the following table and configure their values. For each variable, enter its value into the Initial value column, and the same value is automatically populated in the Current value column.
The following table shows the variables and a description of their values:
Variable Name Description clientID API client ID obtained from Authentication Service. clientSecret API client secret obtained from Authentication Service. customerId Zscaler Private Access (ZPA) tenant ID of the customer obtained from the Authentication Service or the ZPA. To learn how to obtain the ZPA customer ID, see Getting Started. This configuration is applicable only to ZPA API clients. oneAPIBaseUrl Base URL for OneAPI: https://api.zsapi.net.ZIABaseUrl Base URL for Zscaler Internet Access (ZIA) API: {{oneAPIBaseUrl}}/zia/api/v1.ZPABaseUrl Base URL for ZPA API: {{oneAPIBaseUrl}}/zpa.ZCCBaseUrl Base URL for Client Connector API: {{oneAPIBaseUrl}}/zcc/papi/public.ZTWBaseUrl Base URL for Cloud & Branch Connector API: {{oneAPIBaseUrl}}/ztw/api/v1.ZDXBaseUrl Base URL for Digital Experience (ZDX) API: {{oneAPIBaseUrl}}/zdx/v1.authServiceBaseUrl Represents Authentication Service's token endpoint: https://<Vanity Domain>.zslogin.net, where<Vanity Domain>refers to the domain name used by your organization.ZIAMBaseUrl Base URL for Authentication Service API: {{oneAPIBaseUrl}}/ziam/admin/api/v1.ZBIBaseUrl The base URL for Business Insights API: {{oneAPIBaseUrl}}/biEASMBaseUrl The base URL for EASM API: {{oneAPIBaseUrl}}/easm/easm-ui/v1AIInfrastructureBaseUrl The base URL for AI Infrastructure endpoints of the AI Security API: {{oneAPIBaseUrl}}/aisecurity/aispmAIRedTeamingBaseUrl The base URL for AI Red Teaming endpoints of the AI Security API: {{oneAPIBaseUrl}}/aisecurity/airtUrbacBaseUrl The base URL for Unified RBAC API: {{oneAPIBaseUrl}}/urbac/urbacEnsure that the variables are selected, the Type is set to default, and that the variables are configured properly.
-
Click Save in the top-right of the environment tab.