/mgmtconfig/v1/admin/customers/{customerId}/policySet/policyType/{policyType}

Parameters

Name
Description
customerId *required
integer($int64)
(path)
The unique identifier of the ZPA tenant.
policyType *required
string
(path)
The value for differentiating policy types. The supported values are:
  • ACCESS_POLICY or GLOBAL_POLICY
  • TIMEOUT_POLICY or REAUTH_POLICY
  • CLIENT_FORWARDING_POLICY or BYPASS_POLICY
  • INSPECTION_POLICY (i.e., AppProtection policy)
  • CREDENTIAL_POLICY
  • CAPABILITIES_POLICY
  • ISOLATION_POLICY
  • CLIENTLESS_SESSION_PROTECTION_POLICY
  • REDIRECTION_POLICY
microtenantId
integer($int64)
(query)
The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.

creationTime
integer($int32)
The time the policy set is created.
description
string
The description of the policy set.
enabled
boolean
Whether or not the policy set is enabled.
id
integer($int64)
The unique identifier of the policy set.
modifiedBy
integer($int64)
The unique identifier of the tenant who modified the policy set.
modifiedTime
integer($int32)
The time the policy set is modified.
name*
string
The name of the policy set.
policyType
integer($int32)
The value for differentiating policy types. The supported values are:
  • ACCESS_POLICY or GLOBAL_POLICY
  • TIMEOUT_POLICY or REAUTH_POLICY
  • CLIENT_FORWARDING_POLICY or BYPASS_POLICY
  • INSPECTION_POLICY (i.e., AppProtection policy)
  • CREDENTIAL_POLICY
  • CAPABILITIES_POLICY
  • ISOLATION_POLICY
  • CLIENTLESS_SESSION_PROTECTION_POLICY
  • REDIRECTION_POLICY
rules
The list of rules for a particular policy.
microtenantId
integer($int64)
The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
microtenantName
string
The name of the Microtenant.
sorted
boolean
Indicates if the policy set is sorted (true) or not (false).
Responses
Response content type:
Code
200
Description
OK
Example Value
{
  "creationTime": 0,
  "description": "string",
  "enabled": true,
  "id": 0,
  "modifiedBy": 0,
  "modifiedTime": 0,
  "name": "string",
  "policyType": 0,
  "rules": [
    {
      "action": "ALLOW",
      "actionId": 0,
      "appServerGroups": [
        {
          "configSpace": "DEFAULT",
          "creationTime": 0,
          "description": "string",
          "enabled": true,
          "id": 0,
          "dynamicDiscovery": true,
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "microtenantId": 0,
          "microtenantName": "string"
        }
      ],
      "appConnectorGroups": [
        {
          "connectors": [
            {
              "applicationStartTime": 0,
              "appConnectorGroupId": "string",
              "appConnectorGroupName": "string",
              "controlChannelStatus": "UNKNOWN",
              "creationTime": 0,
              "ctrlBrokerName": "string",
              "currentVersion": "string",
              "description": "string",
              "enabled": true,
              "expectedUpgradeTime": 0,
              "expectedVersion": "string",
              "fingerprint": "string",
              "id": 0,
              "ipAcl": [
                "string"
              ],
              "issuedCertId": 0,
              "lastBrokerConnectTime": 0,
              "lastBrokerConnectTimeDuration": "string",
              "lastBrokerDisconnectTime": 0,
              "lastBrokerDisconnectTimeDuration": "string",
              "lastUpgradeTime": 0,
              "latitude": 0,
              "location": "string",
              "longitude": 0,
              "modifiedBy": 0,
              "modifiedTime": 0,
              "name": "string",
              "provisioningKeyId": 0,
              "provisioningKeyName": "string",
              "platform": "string",
              "platformDetail": "string",
              "previousVersion": "string",
              "privateIp": "string",
              "publicIp": "string",
              "runtimeOS": "string",
              "sargeVersion": "string",
              "microtenantId": 0,
              "microtenantName": "string",
              "enrollmentCert": {
                "additionalProp1": "string",
                "additionalProp2": "string",
                "additionalProp3": "string"
              },
              "upgradeAttempt": 0,
              "upgradeStatus": "COMPLETE",
              "zpnSubModuleUpgradeList": [
                {
                  "creationTime": 0,
                  "currentVersion": "string",
                  "entityGid": 0,
                  "entityType": "ASSISTANT",
                  "expectedVersion": "string",
                  "id": 0,
                  "modifiedBy": 0,
                  "modifiedTime": 0,
                  "previousVersion": "string",
                  "role": "ASSISTANT",
                  "upgradeStatus": "COMPLETE",
                  "upgradeTime": 0
                }
              ]
            }
          ],
          "cityCountry": "string",
          "countryCode": "string",
          "creationTime": 0,
          "description": "string",
          "dnsQueryType": "IPV4_IPV6",
          "enabled": true,
          "geoLocationId": 0,
          "id": 0,
          "ipAcl": [
            "string"
          ],
          "latitude": "string",
          "location": "string",
          "longitude": "string",
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "overrideVersionProfile": true,
          "praEnabled": false,
          "microtenantId": 0,
          "microtenantName": "string",
          "serverGroups": [
            {
              "configSpace": "DEFAULT",
              "creationTime": 0,
              "description": "string",
              "enabled": true,
              "id": 0,
              "dynamicDiscovery": true,
              "modifiedBy": 0,
              "modifiedTime": 0,
              "name": "string",
              "microtenantId": 0,
              "microtenantName": "string"
            }
          ],
          "lssAppConnectorGroup": true,
          "tcpQuickAckApp": true,
          "tcpQuickAckAssistant": true,
          "tcpQuickAckReadAssistant": true,
          "upgradeDay": "string",
          "upgradeTimeInSecs": "string",
          "useInDrMode": false,
          "versionProfileId": 0,
          "versionProfileName": "string",
          "versionProfileVisibilityScope": "ALL",
          "wafDisabled": true
        }
      ],
      "conditions": [
        {
          "creationTime": 0,
          "id": 0,
          "modifiedBy": 0,
          "modifiedTime": 0,
          "negated": true,
          "operands": [
            {
              "creationTime": 0,
              "id": 0,
              "idpId": 0,
              "lhs": "string",
              "modifiedBy": 0,
              "modifiedTime": 0,
              "name": "string",
              "objectType": "USER",
              "rhs": "string",
              "microtenantId": 0
            }
          ],
          "operator": "AND",
          "microtenantId": 0
        }
      ],
      "creationTime": 0,
      "credential": {
        "id": 0,
        "name": "string"
      },
      "customMsg": "string",
      "defaultRule": true,
      "defaultRuleName": "string",
      "description": "string",
      "id": 0,
      "inconsistentConfigDetails": {
        "application": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "segmentGroup": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "appConnectorGroup": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "baCertificate": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "branchConnectorGroup": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "cloudConnectorGroup": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "idp": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "location": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "machineGroup": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "postureProfile": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "samlAttributes": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "scimAttributes": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "serverGroup": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "praApplication": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "trustedNetwork": [
          {
            "name": "string",
            "reason": "string"
          }
        ]
      },
      "modifiedBy": 0,
      "modifiedTime": 0,
      "name": "string",
      "operator": "AND",
      "policySetId": 0,
      "policyType": 0,
      "priority": 0,
      "privilegedCapabilities": {
        "capabilities": [
          "string"
        ],
        "creationTime": 0,
        "id": 0,
        "modifiedBy": 0,
        "modifiedTime": 0
      },
      "reauthIdleTimeout": 0,
      "reauthTimeout": 0,
      "ruleOrder": 0,
      "microtenantId": 0,
      "microtenantName": "string",
      "serviceEdgeGroups": [
        {
          "altCloud": "string",
          "cityCountry": "string",
          "countryCode": "string",
          "creationTime": 0,
          "description": "string",
          "enabled": true,
          "geoLocationId": 0,
          "graceDistanceEnabled": true,
          "graceDistanceValue": 0,
          "graceDistanceValueUnit": "MILES",
          "id": 0,
          "isPublic": "string",
          "latitude": "string",
          "location": "string",
          "longitude": "string",
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "overrideVersionProfile": true,
          "serviceEdges": [
            {
              "applicationStartTime": 0,
              "controlChannelStatus": "UNKNOWN",
              "creationTime": 0,
              "ctrlBrokerName": "string",
              "currentVersion": "string",
              "description": "string",
              "enabled": true,
              "expectedUpgradeTime": 0,
              "expectedVersion": "string",
              "fingerprint": "string",
              "id": 0,
              "ipAcl": [
                "string"
              ],
              "issuedCertId": 0,
              "lastBrokerConnectTime": 0,
              "lastBrokerConnectTimeDuration": "string",
              "lastBrokerDisconnectTime": 0,
              "lastBrokerDisconnectTimeDuration": "string",
              "lastUpgradeTime": 0,
              "latitude": "string",
              "listenIps": [
                "string"
              ],
              "location": "string",
              "longitude": "string",
              "modifiedBy": 0,
              "modifiedTime": 0,
              "name": "string",
              "provisioningKeyId": 0,
              "provisioningKeyName": "string",
              "platform": "string",
              "platformDetail": "string",
              "previousVersion": "string",
              "serviceEdgeGroupId": "string",
              "serviceEdgeGroupName": "string",
              "privateIp": "string",
              "publicIp": "string",
              "publishIps": [
                "string"
              ],
              "runtimeOS": "string",
              "sargeVersion": "string",
              "microtenantId": 0,
              "microtenantName": "string",
              "enrollmentCert": {
                "additionalProp1": "string",
                "additionalProp2": "string",
                "additionalProp3": "string"
              },
              "upgradeAttempt": 0,
              "upgradeStatus": "COMPLETE",
              "zpnSubModuleUpgradeList": [
                {
                  "creationTime": 0,
                  "currentVersion": "string",
                  "entityGid": 0,
                  "entityType": "ASSISTANT",
                  "expectedVersion": "string",
                  "id": 0,
                  "modifiedBy": 0,
                  "modifiedTime": 0,
                  "previousVersion": "string",
                  "role": "ASSISTANT",
                  "upgradeStatus": "COMPLETE",
                  "upgradeTime": 0
                }
              ]
            }
          ],
          "microtenantId": 0,
          "microtenantName": "string",
          "trustedNetworks": [
            {
              "creationTime": 0,
              "domain": "string",
              "id": 0,
              "masterCustomerId": "string",
              "modifiedBy": 0,
              "modifiedTime": 0,
              "name": "string",
              "networkId": "string",
              "zscalerCloud": "string"
            }
          ],
          "upgradeDay": "string",
          "upgradeTimeInSecs": "string",
          "useInDrMode": true,
          "versionProfileId": 0,
          "versionProfileName": "string",
          "versionProfileVisibilityScope": "ALL"
        }
      ],
      "zpnIsolationProfileId": 0,
      "zpnInspectionProfileId": 0,
      "zpnInspectionProfileName": "string"
    }
  ],
  "microtenantId": 0,
  "microtenantName": "string",
  "sorted": true
}
Code
401
Description
Unauthorized
Code
403
Description
Forbidden
Code
404
Description
Not Found
/mgmtconfig/v2/admin/customers/{customerId}/policySet/{policySetId}/rule

Parameters

Name
Description
customerId *required
integer($int64)
(path)
The unique identifier of the ZPA tenant.
policyRuleResource *required
object
(body)
The object of the policy rule.

Parameters content type:

policySetId *required
integer($int64)
(path)
The unique identifier of the policy set.
microtenantId
integer($int64)
(query)
The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.

action
string
The action of the policy rule.
[
...
]
actionId
integer($int64)
The unique identifier of the action.
appServerGroups
appConnectorGroups
conditions
Specifies the set of conditions for the policy rule.
creationTime
integer($int32)
The time the policy rule is created.
credential
customMsg
string
Specifies a custom message to the user.
defaultRule
boolean
Whether or not the rule returns as default.
defaultRuleName
string
The name of the default rule.
description
string
The description of the policy rule.
id
integer($int64)
The unique identifier of the policy rule.
inconsistentConfigDetails
modifiedBy
integer($int64)
The unique identifier of the tenant who modified the policy rule.
modifiedTime
integer($int32)
The time the policy rule is modified.
name*
string
The name of the policy rule.
operator
string
Denotes the operation type. These are operands used between criteria.
[
...
]
policySetId
integer($int64)
The unique identifier of the policy set.
policyType
integer($int32)
The value for differentiating policy types. The supported values are:
  • ACCESS_POLICY or GLOBAL_POLICY
  • TIMEOUT_POLICY or REAUTH_POLICY
  • CLIENT_FORWARDING_POLICY or BYPASS_POLICY
  • INSPECTION_POLICY (i.e., AppProtection policy)
  • CREDENTIAL_POLICY
  • CAPABILITIES_POLICY
  • ISOLATION_POLICY
  • CLIENTLESS_SESSION_PROTECTION_POLICY
  • REDIRECTION_POLICY
priority
integer($int32)
The priority of the policy rule.
privilegedCapabilities
reauthIdleTimeout
integer($int32)
The reauthentication idle timeout.
reauthTimeout
integer($int32)
The reauthentication timeout.
ruleOrder
integer($int32)
The policy evaluation order number of the rule.
microtenantId
integer($int64)
The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
microtenantName
string
The name of the Microtenant.
serviceEdgeGroups
zpnIsolationProfileId
integer($int64)
The unique identifier of the Cloud Browser Isolation profile. This field is applicable only for isolation policies.
zpnInspectionProfileId
integer($int64)
The unique identifier of the inspection profile. This field is applicable only for inspection policies.
zpnInspectionProfileName
string
The name of the inspection profile. This field has read-only properties.
Responses
Response content type:
Code
201
Description
Created
Example Value
{
  "action": "ALLOW",
  "actionId": 0,
  "appServerGroups": [
    {
      "configSpace": "DEFAULT",
      "creationTime": 0,
      "description": "string",
      "enabled": true,
      "id": 0,
      "dynamicDiscovery": true,
      "modifiedBy": 0,
      "modifiedTime": 0,
      "name": "string",
      "microtenantId": 0,
      "microtenantName": "string"
    }
  ],
  "appConnectorGroups": [
    {
      "connectors": [
        {
          "applicationStartTime": 0,
          "appConnectorGroupId": "string",
          "appConnectorGroupName": "string",
          "controlChannelStatus": "UNKNOWN",
          "creationTime": 0,
          "ctrlBrokerName": "string",
          "currentVersion": "string",
          "description": "string",
          "enabled": true,
          "expectedUpgradeTime": 0,
          "expectedVersion": "string",
          "fingerprint": "string",
          "id": 0,
          "ipAcl": [
            "string"
          ],
          "issuedCertId": 0,
          "lastBrokerConnectTime": 0,
          "lastBrokerConnectTimeDuration": "string",
          "lastBrokerDisconnectTime": 0,
          "lastBrokerDisconnectTimeDuration": "string",
          "lastUpgradeTime": 0,
          "latitude": 0,
          "location": "string",
          "longitude": 0,
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "provisioningKeyId": 0,
          "provisioningKeyName": "string",
          "platform": "string",
          "platformDetail": "string",
          "previousVersion": "string",
          "privateIp": "string",
          "publicIp": "string",
          "runtimeOS": "string",
          "sargeVersion": "string",
          "microtenantId": 0,
          "microtenantName": "string",
          "enrollmentCert": {
            "additionalProp1": "string",
            "additionalProp2": "string",
            "additionalProp3": "string"
          },
          "upgradeAttempt": 0,
          "upgradeStatus": "COMPLETE",
          "zpnSubModuleUpgradeList": [
            {
              "creationTime": 0,
              "currentVersion": "string",
              "entityGid": 0,
              "entityType": "ASSISTANT",
              "expectedVersion": "string",
              "id": 0,
              "modifiedBy": 0,
              "modifiedTime": 0,
              "previousVersion": "string",
              "role": "ASSISTANT",
              "upgradeStatus": "COMPLETE",
              "upgradeTime": 0
            }
          ]
        }
      ],
      "cityCountry": "string",
      "countryCode": "string",
      "creationTime": 0,
      "description": "string",
      "dnsQueryType": "IPV4_IPV6",
      "enabled": true,
      "geoLocationId": 0,
      "id": 0,
      "ipAcl": [
        "string"
      ],
      "latitude": "string",
      "location": "string",
      "longitude": "string",
      "modifiedBy": 0,
      "modifiedTime": 0,
      "name": "string",
      "overrideVersionProfile": true,
      "praEnabled": false,
      "microtenantId": 0,
      "microtenantName": "string",
      "serverGroups": [
        {
          "configSpace": "DEFAULT",
          "creationTime": 0,
          "description": "string",
          "enabled": true,
          "id": 0,
          "dynamicDiscovery": true,
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "microtenantId": 0,
          "microtenantName": "string"
        }
      ],
      "lssAppConnectorGroup": true,
      "tcpQuickAckApp": true,
      "tcpQuickAckAssistant": true,
      "tcpQuickAckReadAssistant": true,
      "upgradeDay": "string",
      "upgradeTimeInSecs": "string",
      "useInDrMode": false,
      "versionProfileId": 0,
      "versionProfileName": "string",
      "versionProfileVisibilityScope": "ALL",
      "wafDisabled": true
    }
  ],
  "conditions": [
    {
      "creationTime": 0,
      "id": 0,
      "modifiedBy": 0,
      "modifiedTime": 0,
      "negated": true,
      "operands": [
        {
          "creationTime": 0,
          "id": 0,
          "idpId": 0,
          "lhs": "string",
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "objectType": "USER",
          "rhs": "string",
          "microtenantId": 0
        }
      ],
      "operator": "AND",
      "microtenantId": 0
    }
  ],
  "creationTime": 0,
  "credential": {
    "id": 0,
    "name": "string"
  },
  "customMsg": "string",
  "defaultRule": true,
  "defaultRuleName": "string",
  "description": "string",
  "id": 0,
  "inconsistentConfigDetails": {
    "application": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "segmentGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "appConnectorGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "baCertificate": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "branchConnectorGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "cloudConnectorGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "idp": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "location": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "machineGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "postureProfile": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "samlAttributes": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "scimAttributes": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "serverGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "praApplication": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "trustedNetwork": [
      {
        "name": "string",
        "reason": "string"
      }
    ]
  },
  "modifiedBy": 0,
  "modifiedTime": 0,
  "name": "string",
  "operator": "AND",
  "policySetId": 0,
  "policyType": 0,
  "priority": 0,
  "privilegedCapabilities": {
    "capabilities": [
      "string"
    ],
    "creationTime": 0,
    "id": 0,
    "modifiedBy": 0,
    "modifiedTime": 0
  },
  "reauthIdleTimeout": 0,
  "reauthTimeout": 0,
  "ruleOrder": 0,
  "microtenantId": 0,
  "microtenantName": "string",
  "serviceEdgeGroups": [
    {
      "altCloud": "string",
      "cityCountry": "string",
      "countryCode": "string",
      "creationTime": 0,
      "description": "string",
      "enabled": true,
      "geoLocationId": 0,
      "graceDistanceEnabled": true,
      "graceDistanceValue": 0,
      "graceDistanceValueUnit": "MILES",
      "id": 0,
      "isPublic": "string",
      "latitude": "string",
      "location": "string",
      "longitude": "string",
      "modifiedBy": 0,
      "modifiedTime": 0,
      "name": "string",
      "overrideVersionProfile": true,
      "serviceEdges": [
        {
          "applicationStartTime": 0,
          "controlChannelStatus": "UNKNOWN",
          "creationTime": 0,
          "ctrlBrokerName": "string",
          "currentVersion": "string",
          "description": "string",
          "enabled": true,
          "expectedUpgradeTime": 0,
          "expectedVersion": "string",
          "fingerprint": "string",
          "id": 0,
          "ipAcl": [
            "string"
          ],
          "issuedCertId": 0,
          "lastBrokerConnectTime": 0,
          "lastBrokerConnectTimeDuration": "string",
          "lastBrokerDisconnectTime": 0,
          "lastBrokerDisconnectTimeDuration": "string",
          "lastUpgradeTime": 0,
          "latitude": "string",
          "listenIps": [
            "string"
          ],
          "location": "string",
          "longitude": "string",
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "provisioningKeyId": 0,
          "provisioningKeyName": "string",
          "platform": "string",
          "platformDetail": "string",
          "previousVersion": "string",
          "serviceEdgeGroupId": "string",
          "serviceEdgeGroupName": "string",
          "privateIp": "string",
          "publicIp": "string",
          "publishIps": [
            "string"
          ],
          "runtimeOS": "string",
          "sargeVersion": "string",
          "microtenantId": 0,
          "microtenantName": "string",
          "enrollmentCert": {
            "additionalProp1": "string",
            "additionalProp2": "string",
            "additionalProp3": "string"
          },
          "upgradeAttempt": 0,
          "upgradeStatus": "COMPLETE",
          "zpnSubModuleUpgradeList": [
            {
              "creationTime": 0,
              "currentVersion": "string",
              "entityGid": 0,
              "entityType": "ASSISTANT",
              "expectedVersion": "string",
              "id": 0,
              "modifiedBy": 0,
              "modifiedTime": 0,
              "previousVersion": "string",
              "role": "ASSISTANT",
              "upgradeStatus": "COMPLETE",
              "upgradeTime": 0
            }
          ]
        }
      ],
      "microtenantId": 0,
      "microtenantName": "string",
      "trustedNetworks": [
        {
          "creationTime": 0,
          "domain": "string",
          "id": 0,
          "masterCustomerId": "string",
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "networkId": "string",
          "zscalerCloud": "string"
        }
      ],
      "upgradeDay": "string",
      "upgradeTimeInSecs": "string",
      "useInDrMode": true,
      "versionProfileId": 0,
      "versionProfileName": "string",
      "versionProfileVisibilityScope": "ALL"
    }
  ],
  "zpnIsolationProfileId": 0,
  "zpnInspectionProfileId": 0,
  "zpnInspectionProfileName": "string"
}
Code
401
Description
Unauthorized
Code
403
Description
Forbidden
Code
404
Description
Not Found
/mgmtconfig/v1/admin/customers/{customerId}/policySet/{policySetId}/rule

Parameters

Name
Description
customerId *required
integer($int64)
(path)
The unique identifier of the ZPA tenant.
policySetId *required
integer($int64)
(path)
The unique identifier of the policy set.
rule *required
object
(body)
The object of the policy rule.

Parameters content type:

microtenantId
integer($int64)
(query)
The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.

action
string
The action of the policy rule.
[
...
]
actionId
integer($int64)
The unique identifier of the action.
appServerGroups
appConnectorGroups
conditions
Specifies the set of conditions for the policy rule.
creationTime
integer($int32)
The time the policy rule is created.
credential
customMsg
string
Specifies a custom message to the user.
defaultRule
boolean
Whether or not the rule returns as default.
defaultRuleName
string
The name of the default rule.
description
string
The description of the policy rule.
id
integer($int64)
The unique identifier of the policy rule.
inconsistentConfigDetails
modifiedBy
integer($int64)
The unique identifier of the tenant who modified the policy rule.
modifiedTime
integer($int32)
The time the policy rule is modified.
name*
string
The name of the policy rule.
operator
string
Denotes the operation type. These are operands used between criteria.
[
...
]
policySetId
integer($int64)
The unique identifier of the policy set.
policyType
integer($int32)
The value for differentiating policy types. The supported values are:
  • ACCESS_POLICY or GLOBAL_POLICY
  • TIMEOUT_POLICY or REAUTH_POLICY
  • CLIENT_FORWARDING_POLICY or BYPASS_POLICY
  • INSPECTION_POLICY (i.e., AppProtection policy)
  • CREDENTIAL_POLICY
  • CAPABILITIES_POLICY
  • ISOLATION_POLICY
  • CLIENTLESS_SESSION_PROTECTION_POLICY
  • REDIRECTION_POLICY
priority
integer($int32)
The priority of the policy rule.
privilegedCapabilities
reauthIdleTimeout
integer($int32)
The reauthentication idle timeout.
reauthTimeout
integer($int32)
The reauthentication timeout.
ruleOrder
integer($int32)
The policy evaluation order number of the rule.
microtenantId
integer($int64)
The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
microtenantName
string
The name of the Microtenant.
serviceEdgeGroups
zpnIsolationProfileId
integer($int64)
The unique identifier of the Cloud Browser Isolation profile. This field is applicable only for isolation policies.
zpnInspectionProfileId
integer($int64)
The unique identifier of the inspection profile. This field is applicable only for inspection policies.
zpnInspectionProfileName
string
The name of the inspection profile. This field has read-only properties.
Responses
Response content type:
Code
201
Description
Created
Example Value
{
  "action": "ALLOW",
  "actionId": 0,
  "appServerGroups": [
    {
      "configSpace": "DEFAULT",
      "creationTime": 0,
      "description": "string",
      "enabled": true,
      "id": 0,
      "dynamicDiscovery": true,
      "modifiedBy": 0,
      "modifiedTime": 0,
      "name": "string",
      "microtenantId": 0,
      "microtenantName": "string"
    }
  ],
  "appConnectorGroups": [
    {
      "connectors": [
        {
          "applicationStartTime": 0,
          "appConnectorGroupId": "string",
          "appConnectorGroupName": "string",
          "controlChannelStatus": "UNKNOWN",
          "creationTime": 0,
          "ctrlBrokerName": "string",
          "currentVersion": "string",
          "description": "string",
          "enabled": true,
          "expectedUpgradeTime": 0,
          "expectedVersion": "string",
          "fingerprint": "string",
          "id": 0,
          "ipAcl": [
            "string"
          ],
          "issuedCertId": 0,
          "lastBrokerConnectTime": 0,
          "lastBrokerConnectTimeDuration": "string",
          "lastBrokerDisconnectTime": 0,
          "lastBrokerDisconnectTimeDuration": "string",
          "lastUpgradeTime": 0,
          "latitude": 0,
          "location": "string",
          "longitude": 0,
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "provisioningKeyId": 0,
          "provisioningKeyName": "string",
          "platform": "string",
          "platformDetail": "string",
          "previousVersion": "string",
          "privateIp": "string",
          "publicIp": "string",
          "runtimeOS": "string",
          "sargeVersion": "string",
          "microtenantId": 0,
          "microtenantName": "string",
          "enrollmentCert": {
            "additionalProp1": "string",
            "additionalProp2": "string",
            "additionalProp3": "string"
          },
          "upgradeAttempt": 0,
          "upgradeStatus": "COMPLETE",
          "zpnSubModuleUpgradeList": [
            {
              "creationTime": 0,
              "currentVersion": "string",
              "entityGid": 0,
              "entityType": "ASSISTANT",
              "expectedVersion": "string",
              "id": 0,
              "modifiedBy": 0,
              "modifiedTime": 0,
              "previousVersion": "string",
              "role": "ASSISTANT",
              "upgradeStatus": "COMPLETE",
              "upgradeTime": 0
            }
          ]
        }
      ],
      "cityCountry": "string",
      "countryCode": "string",
      "creationTime": 0,
      "description": "string",
      "dnsQueryType": "IPV4_IPV6",
      "enabled": true,
      "geoLocationId": 0,
      "id": 0,
      "ipAcl": [
        "string"
      ],
      "latitude": "string",
      "location": "string",
      "longitude": "string",
      "modifiedBy": 0,
      "modifiedTime": 0,
      "name": "string",
      "overrideVersionProfile": true,
      "praEnabled": false,
      "microtenantId": 0,
      "microtenantName": "string",
      "serverGroups": [
        {
          "configSpace": "DEFAULT",
          "creationTime": 0,
          "description": "string",
          "enabled": true,
          "id": 0,
          "dynamicDiscovery": true,
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "microtenantId": 0,
          "microtenantName": "string"
        }
      ],
      "lssAppConnectorGroup": true,
      "tcpQuickAckApp": true,
      "tcpQuickAckAssistant": true,
      "tcpQuickAckReadAssistant": true,
      "upgradeDay": "string",
      "upgradeTimeInSecs": "string",
      "useInDrMode": false,
      "versionProfileId": 0,
      "versionProfileName": "string",
      "versionProfileVisibilityScope": "ALL",
      "wafDisabled": true
    }
  ],
  "conditions": [
    {
      "creationTime": 0,
      "id": 0,
      "modifiedBy": 0,
      "modifiedTime": 0,
      "negated": true,
      "operands": [
        {
          "creationTime": 0,
          "id": 0,
          "idpId": 0,
          "lhs": "string",
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "objectType": "USER",
          "rhs": "string",
          "microtenantId": 0
        }
      ],
      "operator": "AND",
      "microtenantId": 0
    }
  ],
  "creationTime": 0,
  "credential": {
    "id": 0,
    "name": "string"
  },
  "customMsg": "string",
  "defaultRule": true,
  "defaultRuleName": "string",
  "description": "string",
  "id": 0,
  "inconsistentConfigDetails": {
    "application": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "segmentGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "appConnectorGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "baCertificate": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "branchConnectorGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "cloudConnectorGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "idp": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "location": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "machineGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "postureProfile": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "samlAttributes": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "scimAttributes": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "serverGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "praApplication": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "trustedNetwork": [
      {
        "name": "string",
        "reason": "string"
      }
    ]
  },
  "modifiedBy": 0,
  "modifiedTime": 0,
  "name": "string",
  "operator": "AND",
  "policySetId": 0,
  "policyType": 0,
  "priority": 0,
  "privilegedCapabilities": {
    "capabilities": [
      "string"
    ],
    "creationTime": 0,
    "id": 0,
    "modifiedBy": 0,
    "modifiedTime": 0
  },
  "reauthIdleTimeout": 0,
  "reauthTimeout": 0,
  "ruleOrder": 0,
  "microtenantId": 0,
  "microtenantName": "string",
  "serviceEdgeGroups": [
    {
      "altCloud": "string",
      "cityCountry": "string",
      "countryCode": "string",
      "creationTime": 0,
      "description": "string",
      "enabled": true,
      "geoLocationId": 0,
      "graceDistanceEnabled": true,
      "graceDistanceValue": 0,
      "graceDistanceValueUnit": "MILES",
      "id": 0,
      "isPublic": "string",
      "latitude": "string",
      "location": "string",
      "longitude": "string",
      "modifiedBy": 0,
      "modifiedTime": 0,
      "name": "string",
      "overrideVersionProfile": true,
      "serviceEdges": [
        {
          "applicationStartTime": 0,
          "controlChannelStatus": "UNKNOWN",
          "creationTime": 0,
          "ctrlBrokerName": "string",
          "currentVersion": "string",
          "description": "string",
          "enabled": true,
          "expectedUpgradeTime": 0,
          "expectedVersion": "string",
          "fingerprint": "string",
          "id": 0,
          "ipAcl": [
            "string"
          ],
          "issuedCertId": 0,
          "lastBrokerConnectTime": 0,
          "lastBrokerConnectTimeDuration": "string",
          "lastBrokerDisconnectTime": 0,
          "lastBrokerDisconnectTimeDuration": "string",
          "lastUpgradeTime": 0,
          "latitude": "string",
          "listenIps": [
            "string"
          ],
          "location": "string",
          "longitude": "string",
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "provisioningKeyId": 0,
          "provisioningKeyName": "string",
          "platform": "string",
          "platformDetail": "string",
          "previousVersion": "string",
          "serviceEdgeGroupId": "string",
          "serviceEdgeGroupName": "string",
          "privateIp": "string",
          "publicIp": "string",
          "publishIps": [
            "string"
          ],
          "runtimeOS": "string",
          "sargeVersion": "string",
          "microtenantId": 0,
          "microtenantName": "string",
          "enrollmentCert": {
            "additionalProp1": "string",
            "additionalProp2": "string",
            "additionalProp3": "string"
          },
          "upgradeAttempt": 0,
          "upgradeStatus": "COMPLETE",
          "zpnSubModuleUpgradeList": [
            {
              "creationTime": 0,
              "currentVersion": "string",
              "entityGid": 0,
              "entityType": "ASSISTANT",
              "expectedVersion": "string",
              "id": 0,
              "modifiedBy": 0,
              "modifiedTime": 0,
              "previousVersion": "string",
              "role": "ASSISTANT",
              "upgradeStatus": "COMPLETE",
              "upgradeTime": 0
            }
          ]
        }
      ],
      "microtenantId": 0,
      "microtenantName": "string",
      "trustedNetworks": [
        {
          "creationTime": 0,
          "domain": "string",
          "id": 0,
          "masterCustomerId": "string",
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "networkId": "string",
          "zscalerCloud": "string"
        }
      ],
      "upgradeDay": "string",
      "upgradeTimeInSecs": "string",
      "useInDrMode": true,
      "versionProfileId": 0,
      "versionProfileName": "string",
      "versionProfileVisibilityScope": "ALL"
    }
  ],
  "zpnIsolationProfileId": 0,
  "zpnInspectionProfileId": 0,
  "zpnInspectionProfileName": "string"
}
Code
401
Description
Unauthorized
Code
403
Description
Forbidden
Code
404
Description
Not Found
/mgmtconfig/v1/admin/customers/{customerId}/policySet/{policySetId}/reorder

Parameters

Name
Description
customerId *required
integer($int64)
(path)
The unique identifier of the ZPA tenant.
policySetId *required
integer($int64)
(path)
The unique identifier of the policy set.
ruleIds *required
array[integer]
(body)
The new order of rule IDs for the rules in the policy set.
microtenantId
integer($int64)
(query)
The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
Responses
Response content type:
Code
201
Description
Created
Code
204
Description
No Content
Code
401
Description
Unauthorized
Code
403
Description
Forbidden
Code
404
Description
Not Found
/mgmtconfig/v1/admin/customers/{customerId}/platform

Parameters

Name
Description
customerId *required
integer($int64)
(path)
The unique identifier of the ZPA tenant.
Responses
Response content type:
Code
200
Description
OK
Code
401
Description
Unauthorized
Code
403
Description
Forbidden
Code
404
Description
Not Found
/mgmtconfig/v1/admin/customers/{customerId}/policySet/{policySetId}/rule/{ruleId}/reorder/{newOrder}

Parameters

Name
Description
customerId *required
integer($int64)
(path)
The unique identifier of the ZPA tenant.
newOrder *required
integer($int32)
(path)
The new order of the rule.
policySetId *required
integer($int64)
(path)
The unique identifier of the policy set.
ruleId *required
integer($int64)
(path)
The unique identifier of a rule in a policy.
microtenantId
integer($int64)
(query)
The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
Responses
Response content type:
Code
201
Description
Created
Code
204
Description
No Content
Code
401
Description
Unauthorized
Code
403
Description
Forbidden
Code
404
Description
Not Found
/mgmtconfig/v2/admin/customers/{customerId}/policySet/{policySetId}/rule/{ruleId}

Parameters

Name
Description
customerId *required
integer($int64)
(path)
The unique identifier of the ZPA tenant.
policyRuleResource *required
object
(body)
The object of the rule in a policy.

Parameters content type:

policySetId *required
integer($int64)
(path)
The unique identifier of the policy.
ruleId *required
integer($int64)
(path)
The unique identifier of a rule in a policy.
microtenantId
integer($int64)
(query)
The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
Responses
Response content type:
Code
201
Description
Created
Code
204
Description
No Content
Code
401
Description
Unauthorized
Code
403
Description
Forbidden
Code
404
Description
Not Found
/mgmtconfig/v1/admin/customers/{customerId}/policySet/rules/policyType/{policyType}

Parameters

Name
Description
customerId *required
integer($int64)
(path)
The unique identifier of the ZPA tenant.
page
integer($int32)
(query)
Specifies the page number.
Example : 1
pagesize
integer($int32)
(query)
Specifies the page size. If not provided, the default page size is 20. The max page size is 500.
Example : 20
policyType *required
string
(path)
The value for differentiating policy types. The supported values are:
  • ACCESS_POLICY or GLOBAL_POLICY
  • TIMEOUT_POLICY or REAUTH_POLICY
  • CLIENT_FORWARDING_POLICY or BYPASS_POLICY
  • INSPECTION_POLICY (i.e., AppProtection policy)
  • CREDENTIAL_POLICY
  • CAPABILITIES_POLICY
  • ISOLATION_POLICY
  • CLIENTLESS_SESSION_PROTECTION_POLICY
  • REDIRECTION_POLICY
microtenantId
integer($int64)
(query)
The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
search
string
(query)
The search string used to support search by features and fields for the API.

list
The total list of policy rules.
totalCount
integer($int64)
The total count of resources per the search feature.
totalPages
integer($int32)
The total number of pages per the pagination attribute.
Responses
Response content type:
Code
200
Description
OK
Example Value
{
  "list": [
    {
      "action": "ALLOW",
      "actionId": 0,
      "appServerGroups": [
        {
          "configSpace": "DEFAULT",
          "creationTime": 0,
          "description": "string",
          "enabled": true,
          "id": 0,
          "dynamicDiscovery": true,
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "microtenantId": 0,
          "microtenantName": "string"
        }
      ],
      "appConnectorGroups": [
        {
          "connectors": [
            {
              "applicationStartTime": 0,
              "appConnectorGroupId": "string",
              "appConnectorGroupName": "string",
              "controlChannelStatus": "UNKNOWN",
              "creationTime": 0,
              "ctrlBrokerName": "string",
              "currentVersion": "string",
              "description": "string",
              "enabled": true,
              "expectedUpgradeTime": 0,
              "expectedVersion": "string",
              "fingerprint": "string",
              "id": 0,
              "ipAcl": [
                "string"
              ],
              "issuedCertId": 0,
              "lastBrokerConnectTime": 0,
              "lastBrokerConnectTimeDuration": "string",
              "lastBrokerDisconnectTime": 0,
              "lastBrokerDisconnectTimeDuration": "string",
              "lastUpgradeTime": 0,
              "latitude": 0,
              "location": "string",
              "longitude": 0,
              "modifiedBy": 0,
              "modifiedTime": 0,
              "name": "string",
              "provisioningKeyId": 0,
              "provisioningKeyName": "string",
              "platform": "string",
              "platformDetail": "string",
              "previousVersion": "string",
              "privateIp": "string",
              "publicIp": "string",
              "runtimeOS": "string",
              "sargeVersion": "string",
              "microtenantId": 0,
              "microtenantName": "string",
              "enrollmentCert": {
                "additionalProp1": "string",
                "additionalProp2": "string",
                "additionalProp3": "string"
              },
              "upgradeAttempt": 0,
              "upgradeStatus": "COMPLETE",
              "zpnSubModuleUpgradeList": [
                {
                  "creationTime": 0,
                  "currentVersion": "string",
                  "entityGid": 0,
                  "entityType": "ASSISTANT",
                  "expectedVersion": "string",
                  "id": 0,
                  "modifiedBy": 0,
                  "modifiedTime": 0,
                  "previousVersion": "string",
                  "role": "ASSISTANT",
                  "upgradeStatus": "COMPLETE",
                  "upgradeTime": 0
                }
              ]
            }
          ],
          "cityCountry": "string",
          "countryCode": "string",
          "creationTime": 0,
          "description": "string",
          "dnsQueryType": "IPV4_IPV6",
          "enabled": true,
          "geoLocationId": 0,
          "id": 0,
          "ipAcl": [
            "string"
          ],
          "latitude": "string",
          "location": "string",
          "longitude": "string",
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "overrideVersionProfile": true,
          "praEnabled": false,
          "microtenantId": 0,
          "microtenantName": "string",
          "serverGroups": [
            {
              "configSpace": "DEFAULT",
              "creationTime": 0,
              "description": "string",
              "enabled": true,
              "id": 0,
              "dynamicDiscovery": true,
              "modifiedBy": 0,
              "modifiedTime": 0,
              "name": "string",
              "microtenantId": 0,
              "microtenantName": "string"
            }
          ],
          "lssAppConnectorGroup": true,
          "tcpQuickAckApp": true,
          "tcpQuickAckAssistant": true,
          "tcpQuickAckReadAssistant": true,
          "upgradeDay": "string",
          "upgradeTimeInSecs": "string",
          "useInDrMode": false,
          "versionProfileId": 0,
          "versionProfileName": "string",
          "versionProfileVisibilityScope": "ALL",
          "wafDisabled": true
        }
      ],
      "conditions": [
        {
          "creationTime": 0,
          "id": 0,
          "modifiedBy": 0,
          "modifiedTime": 0,
          "negated": true,
          "operands": [
            {
              "creationTime": 0,
              "id": 0,
              "idpId": 0,
              "lhs": "string",
              "modifiedBy": 0,
              "modifiedTime": 0,
              "name": "string",
              "objectType": "USER",
              "rhs": "string",
              "microtenantId": 0
            }
          ],
          "operator": "AND",
          "microtenantId": 0
        }
      ],
      "creationTime": 0,
      "credential": {
        "id": 0,
        "name": "string"
      },
      "customMsg": "string",
      "defaultRule": true,
      "defaultRuleName": "string",
      "description": "string",
      "id": 0,
      "inconsistentConfigDetails": {
        "application": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "segmentGroup": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "appConnectorGroup": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "baCertificate": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "branchConnectorGroup": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "cloudConnectorGroup": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "idp": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "location": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "machineGroup": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "postureProfile": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "samlAttributes": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "scimAttributes": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "serverGroup": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "praApplication": [
          {
            "name": "string",
            "reason": "string"
          }
        ],
        "trustedNetwork": [
          {
            "name": "string",
            "reason": "string"
          }
        ]
      },
      "modifiedBy": 0,
      "modifiedTime": 0,
      "name": "string",
      "operator": "AND",
      "policySetId": 0,
      "policyType": 0,
      "priority": 0,
      "privilegedCapabilities": {
        "capabilities": [
          "string"
        ],
        "creationTime": 0,
        "id": 0,
        "modifiedBy": 0,
        "modifiedTime": 0
      },
      "reauthIdleTimeout": 0,
      "reauthTimeout": 0,
      "ruleOrder": 0,
      "microtenantId": 0,
      "microtenantName": "string",
      "serviceEdgeGroups": [
        {
          "altCloud": "string",
          "cityCountry": "string",
          "countryCode": "string",
          "creationTime": 0,
          "description": "string",
          "enabled": true,
          "geoLocationId": 0,
          "graceDistanceEnabled": true,
          "graceDistanceValue": 0,
          "graceDistanceValueUnit": "MILES",
          "id": 0,
          "isPublic": "string",
          "latitude": "string",
          "location": "string",
          "longitude": "string",
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "overrideVersionProfile": true,
          "serviceEdges": [
            {
              "applicationStartTime": 0,
              "controlChannelStatus": "UNKNOWN",
              "creationTime": 0,
              "ctrlBrokerName": "string",
              "currentVersion": "string",
              "description": "string",
              "enabled": true,
              "expectedUpgradeTime": 0,
              "expectedVersion": "string",
              "fingerprint": "string",
              "id": 0,
              "ipAcl": [
                "string"
              ],
              "issuedCertId": 0,
              "lastBrokerConnectTime": 0,
              "lastBrokerConnectTimeDuration": "string",
              "lastBrokerDisconnectTime": 0,
              "lastBrokerDisconnectTimeDuration": "string",
              "lastUpgradeTime": 0,
              "latitude": "string",
              "listenIps": [
                "string"
              ],
              "location": "string",
              "longitude": "string",
              "modifiedBy": 0,
              "modifiedTime": 0,
              "name": "string",
              "provisioningKeyId": 0,
              "provisioningKeyName": "string",
              "platform": "string",
              "platformDetail": "string",
              "previousVersion": "string",
              "serviceEdgeGroupId": "string",
              "serviceEdgeGroupName": "string",
              "privateIp": "string",
              "publicIp": "string",
              "publishIps": [
                "string"
              ],
              "runtimeOS": "string",
              "sargeVersion": "string",
              "microtenantId": 0,
              "microtenantName": "string",
              "enrollmentCert": {
                "additionalProp1": "string",
                "additionalProp2": "string",
                "additionalProp3": "string"
              },
              "upgradeAttempt": 0,
              "upgradeStatus": "COMPLETE",
              "zpnSubModuleUpgradeList": [
                {
                  "creationTime": 0,
                  "currentVersion": "string",
                  "entityGid": 0,
                  "entityType": "ASSISTANT",
                  "expectedVersion": "string",
                  "id": 0,
                  "modifiedBy": 0,
                  "modifiedTime": 0,
                  "previousVersion": "string",
                  "role": "ASSISTANT",
                  "upgradeStatus": "COMPLETE",
                  "upgradeTime": 0
                }
              ]
            }
          ],
          "microtenantId": 0,
          "microtenantName": "string",
          "trustedNetworks": [
            {
              "creationTime": 0,
              "domain": "string",
              "id": 0,
              "masterCustomerId": "string",
              "modifiedBy": 0,
              "modifiedTime": 0,
              "name": "string",
              "networkId": "string",
              "zscalerCloud": "string"
            }
          ],
          "upgradeDay": "string",
          "upgradeTimeInSecs": "string",
          "useInDrMode": true,
          "versionProfileId": 0,
          "versionProfileName": "string",
          "versionProfileVisibilityScope": "ALL"
        }
      ],
      "zpnIsolationProfileId": 0,
      "zpnInspectionProfileId": 0,
      "zpnInspectionProfileName": "string"
    }
  ],
  "totalCount": 0,
  "totalPages": 0
}
Code
401
Description
Unauthorized
Code
403
Description
Forbidden
Code
404
Description
Not Found
/mgmtconfig/v1/admin/customers/{customerId}/clientTypes

Parameters

Name
Description
customerId *required
integer($int64)
(path)
The unique identifier of the ZPA tenant.
Responses
Response content type:
Code
200
Description
OK
Code
401
Description
Unauthorized
Code
403
Description
Forbidden
Code
404
Description
Not Found
/mgmtconfig/v1/admin/customers/{customerId}/policySet/{policySetId}/rule/{ruleId}

Parameters

Name
Description
customerId *required
integer($int64)
(path)
The unique identifier of the ZPA tenant.
policySetId *required
integer($int64)
(path)
The unique identifier of the policy set.
ruleId *required
integer($int64)
(path)
The unique identifier of a rule in a policy.
microtenantId
integer($int64)
(query)
The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.

action
string
The action of the policy rule.
[
...
]
actionId
integer($int64)
The unique identifier of the action.
appServerGroups
appConnectorGroups
conditions
Specifies the set of conditions for the policy rule.
creationTime
integer($int32)
The time the policy rule is created.
credential
customMsg
string
Specifies a custom message to the user.
defaultRule
boolean
Whether or not the rule returns as default.
defaultRuleName
string
The name of the default rule.
description
string
The description of the policy rule.
id
integer($int64)
The unique identifier of the policy rule.
inconsistentConfigDetails
modifiedBy
integer($int64)
The unique identifier of the tenant who modified the policy rule.
modifiedTime
integer($int32)
The time the policy rule is modified.
name*
string
The name of the policy rule.
operator
string
Denotes the operation type. These are operands used between criteria.
[
...
]
policySetId
integer($int64)
The unique identifier of the policy set.
policyType
integer($int32)
The value for differentiating policy types. The supported values are:
  • ACCESS_POLICY or GLOBAL_POLICY
  • TIMEOUT_POLICY or REAUTH_POLICY
  • CLIENT_FORWARDING_POLICY or BYPASS_POLICY
  • INSPECTION_POLICY (i.e., AppProtection policy)
  • CREDENTIAL_POLICY
  • CAPABILITIES_POLICY
  • ISOLATION_POLICY
  • CLIENTLESS_SESSION_PROTECTION_POLICY
  • REDIRECTION_POLICY
priority
integer($int32)
The priority of the policy rule.
privilegedCapabilities
reauthIdleTimeout
integer($int32)
The reauthentication idle timeout.
reauthTimeout
integer($int32)
The reauthentication timeout.
ruleOrder
integer($int32)
The policy evaluation order number of the rule.
microtenantId
integer($int64)
The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
microtenantName
string
The name of the Microtenant.
serviceEdgeGroups
zpnIsolationProfileId
integer($int64)
The unique identifier of the Cloud Browser Isolation profile. This field is applicable only for isolation policies.
zpnInspectionProfileId
integer($int64)
The unique identifier of the inspection profile. This field is applicable only for inspection policies.
zpnInspectionProfileName
string
The name of the inspection profile. This field has read-only properties.
Responses
Response content type:
Code
200
Description
OK
Example Value
{
  "action": "ALLOW",
  "actionId": 0,
  "appServerGroups": [
    {
      "configSpace": "DEFAULT",
      "creationTime": 0,
      "description": "string",
      "enabled": true,
      "id": 0,
      "dynamicDiscovery": true,
      "modifiedBy": 0,
      "modifiedTime": 0,
      "name": "string",
      "microtenantId": 0,
      "microtenantName": "string"
    }
  ],
  "appConnectorGroups": [
    {
      "connectors": [
        {
          "applicationStartTime": 0,
          "appConnectorGroupId": "string",
          "appConnectorGroupName": "string",
          "controlChannelStatus": "UNKNOWN",
          "creationTime": 0,
          "ctrlBrokerName": "string",
          "currentVersion": "string",
          "description": "string",
          "enabled": true,
          "expectedUpgradeTime": 0,
          "expectedVersion": "string",
          "fingerprint": "string",
          "id": 0,
          "ipAcl": [
            "string"
          ],
          "issuedCertId": 0,
          "lastBrokerConnectTime": 0,
          "lastBrokerConnectTimeDuration": "string",
          "lastBrokerDisconnectTime": 0,
          "lastBrokerDisconnectTimeDuration": "string",
          "lastUpgradeTime": 0,
          "latitude": 0,
          "location": "string",
          "longitude": 0,
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "provisioningKeyId": 0,
          "provisioningKeyName": "string",
          "platform": "string",
          "platformDetail": "string",
          "previousVersion": "string",
          "privateIp": "string",
          "publicIp": "string",
          "runtimeOS": "string",
          "sargeVersion": "string",
          "microtenantId": 0,
          "microtenantName": "string",
          "enrollmentCert": {
            "additionalProp1": "string",
            "additionalProp2": "string",
            "additionalProp3": "string"
          },
          "upgradeAttempt": 0,
          "upgradeStatus": "COMPLETE",
          "zpnSubModuleUpgradeList": [
            {
              "creationTime": 0,
              "currentVersion": "string",
              "entityGid": 0,
              "entityType": "ASSISTANT",
              "expectedVersion": "string",
              "id": 0,
              "modifiedBy": 0,
              "modifiedTime": 0,
              "previousVersion": "string",
              "role": "ASSISTANT",
              "upgradeStatus": "COMPLETE",
              "upgradeTime": 0
            }
          ]
        }
      ],
      "cityCountry": "string",
      "countryCode": "string",
      "creationTime": 0,
      "description": "string",
      "dnsQueryType": "IPV4_IPV6",
      "enabled": true,
      "geoLocationId": 0,
      "id": 0,
      "ipAcl": [
        "string"
      ],
      "latitude": "string",
      "location": "string",
      "longitude": "string",
      "modifiedBy": 0,
      "modifiedTime": 0,
      "name": "string",
      "overrideVersionProfile": true,
      "praEnabled": false,
      "microtenantId": 0,
      "microtenantName": "string",
      "serverGroups": [
        {
          "configSpace": "DEFAULT",
          "creationTime": 0,
          "description": "string",
          "enabled": true,
          "id": 0,
          "dynamicDiscovery": true,
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "microtenantId": 0,
          "microtenantName": "string"
        }
      ],
      "lssAppConnectorGroup": true,
      "tcpQuickAckApp": true,
      "tcpQuickAckAssistant": true,
      "tcpQuickAckReadAssistant": true,
      "upgradeDay": "string",
      "upgradeTimeInSecs": "string",
      "useInDrMode": false,
      "versionProfileId": 0,
      "versionProfileName": "string",
      "versionProfileVisibilityScope": "ALL",
      "wafDisabled": true
    }
  ],
  "conditions": [
    {
      "creationTime": 0,
      "id": 0,
      "modifiedBy": 0,
      "modifiedTime": 0,
      "negated": true,
      "operands": [
        {
          "creationTime": 0,
          "id": 0,
          "idpId": 0,
          "lhs": "string",
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "objectType": "USER",
          "rhs": "string",
          "microtenantId": 0
        }
      ],
      "operator": "AND",
      "microtenantId": 0
    }
  ],
  "creationTime": 0,
  "credential": {
    "id": 0,
    "name": "string"
  },
  "customMsg": "string",
  "defaultRule": true,
  "defaultRuleName": "string",
  "description": "string",
  "id": 0,
  "inconsistentConfigDetails": {
    "application": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "segmentGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "appConnectorGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "baCertificate": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "branchConnectorGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "cloudConnectorGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "idp": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "location": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "machineGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "postureProfile": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "samlAttributes": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "scimAttributes": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "serverGroup": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "praApplication": [
      {
        "name": "string",
        "reason": "string"
      }
    ],
    "trustedNetwork": [
      {
        "name": "string",
        "reason": "string"
      }
    ]
  },
  "modifiedBy": 0,
  "modifiedTime": 0,
  "name": "string",
  "operator": "AND",
  "policySetId": 0,
  "policyType": 0,
  "priority": 0,
  "privilegedCapabilities": {
    "capabilities": [
      "string"
    ],
    "creationTime": 0,
    "id": 0,
    "modifiedBy": 0,
    "modifiedTime": 0
  },
  "reauthIdleTimeout": 0,
  "reauthTimeout": 0,
  "ruleOrder": 0,
  "microtenantId": 0,
  "microtenantName": "string",
  "serviceEdgeGroups": [
    {
      "altCloud": "string",
      "cityCountry": "string",
      "countryCode": "string",
      "creationTime": 0,
      "description": "string",
      "enabled": true,
      "geoLocationId": 0,
      "graceDistanceEnabled": true,
      "graceDistanceValue": 0,
      "graceDistanceValueUnit": "MILES",
      "id": 0,
      "isPublic": "string",
      "latitude": "string",
      "location": "string",
      "longitude": "string",
      "modifiedBy": 0,
      "modifiedTime": 0,
      "name": "string",
      "overrideVersionProfile": true,
      "serviceEdges": [
        {
          "applicationStartTime": 0,
          "controlChannelStatus": "UNKNOWN",
          "creationTime": 0,
          "ctrlBrokerName": "string",
          "currentVersion": "string",
          "description": "string",
          "enabled": true,
          "expectedUpgradeTime": 0,
          "expectedVersion": "string",
          "fingerprint": "string",
          "id": 0,
          "ipAcl": [
            "string"
          ],
          "issuedCertId": 0,
          "lastBrokerConnectTime": 0,
          "lastBrokerConnectTimeDuration": "string",
          "lastBrokerDisconnectTime": 0,
          "lastBrokerDisconnectTimeDuration": "string",
          "lastUpgradeTime": 0,
          "latitude": "string",
          "listenIps": [
            "string"
          ],
          "location": "string",
          "longitude": "string",
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "provisioningKeyId": 0,
          "provisioningKeyName": "string",
          "platform": "string",
          "platformDetail": "string",
          "previousVersion": "string",
          "serviceEdgeGroupId": "string",
          "serviceEdgeGroupName": "string",
          "privateIp": "string",
          "publicIp": "string",
          "publishIps": [
            "string"
          ],
          "runtimeOS": "string",
          "sargeVersion": "string",
          "microtenantId": 0,
          "microtenantName": "string",
          "enrollmentCert": {
            "additionalProp1": "string",
            "additionalProp2": "string",
            "additionalProp3": "string"
          },
          "upgradeAttempt": 0,
          "upgradeStatus": "COMPLETE",
          "zpnSubModuleUpgradeList": [
            {
              "creationTime": 0,
              "currentVersion": "string",
              "entityGid": 0,
              "entityType": "ASSISTANT",
              "expectedVersion": "string",
              "id": 0,
              "modifiedBy": 0,
              "modifiedTime": 0,
              "previousVersion": "string",
              "role": "ASSISTANT",
              "upgradeStatus": "COMPLETE",
              "upgradeTime": 0
            }
          ]
        }
      ],
      "microtenantId": 0,
      "microtenantName": "string",
      "trustedNetworks": [
        {
          "creationTime": 0,
          "domain": "string",
          "id": 0,
          "masterCustomerId": "string",
          "modifiedBy": 0,
          "modifiedTime": 0,
          "name": "string",
          "networkId": "string",
          "zscalerCloud": "string"
        }
      ],
      "upgradeDay": "string",
      "upgradeTimeInSecs": "string",
      "useInDrMode": true,
      "versionProfileId": 0,
      "versionProfileName": "string",
      "versionProfileVisibilityScope": "ALL"
    }
  ],
  "zpnIsolationProfileId": 0,
  "zpnInspectionProfileId": 0,
  "zpnInspectionProfileName": "string"
}
Code
401
Description
Unauthorized
Code
403
Description
Forbidden
Code
404
Description
Not Found
/mgmtconfig/v1/admin/customers/{customerId}/policySet/{policySetId}/rule/{ruleId}

Parameters

Name
Description
customerId *required
integer($int64)
(path)
The unique identifier of the ZPA tenant.
policySetId *required
integer($int64)
(path)
The unique identifier of the policy set.
rule *required
object
(body)
The object of the rule in a policy.

Parameters content type:

ruleId *required
integer($int64)
(path)
The unique identifier of a rule in a policy.
microtenantId
integer($int64)
(query)
The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
Responses
Response content type:
Code
201
Description
Created
Code
204
Description
No Content
Code
401
Description
Unauthorized
Code
403
Description
Forbidden
Code
404
Description
Not Found
/mgmtconfig/v1/admin/customers/{customerId}/policySet/{policySetId}/rule/{ruleId}

Parameters

Name
Description
customerId *required
integer($int64)
(path)
The unique identifier of the ZPA tenant.
policySetId *required
integer($int64)
(path)
The unique identifier of the policy set.
ruleId *required
integer($int64)
(path)
The unique identifier of a rule in a policy.
microtenantId
integer($int64)
(query)
The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant.
Responses
Response content type:
Code
204
Description
No Content
Code
401
Description
Unauthorized
Code
403
Description
Forbidden