External DocumentationTo learn more, visit the Zscaler Private Access documentation.
Actions
Set New Policy Rule
Adds a new policy rule in a policy set for the specified set ID.

Preview this Workflow on desktop
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Description |
|---|---|
| Microtenant ID | The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, insert 0. |
| Policy Rule Resource | The object of the new policy rule. For more information on the supported object’s attributes, please refer to Zscaler ZPA documentation. |
| Policy Set ID | The unique identifier of the policy set. |
| Tenant ID | The unique identifier of the ZPA tenant. |
{
"action": "ALLOW",
"appServerGroups": [
{
"name": "string",
"enabled": true,
"dynamicDiscovery": true
}
],
"appConnectorGroups": [
{
"name": "string",
"enabled": true,
"connectors": [
{
"name": "string",
"enabled": true,
"controlChannelStatus": "UNKNOWN",
"currentVersion": "string",
"upgradeStatus": "COMPLETE"
}
]
}
],
"conditions": [
{
"negated": true,
"operator": "AND"
}
],
"name": "string",
"operator": "AND",
"policySetId": 0,
"policyType": 0,
"priority": 0,
"serviceEdgeGroups": [
{
"name": "string",
"enabled": true,
"serviceEdges": [
{
"name": "string",
"enabled": true,
"controlChannelStatus": "UNKNOWN",
"currentVersion": "string",
"upgradeStatus": "COMPLETE"
}
]
}
]
}
Was this page helpful?