Skip to main content

CustomerAuthDomains

Customer Auth Domains resource for Zscaler Private Access.

Resource operations

This resource does not support standard CRUDL methods. Each action listed below is a custom action that takes explicit keyword arguments and returns a value.

Quick Start​

import zssdk
import logging

# Enable debug logging for CustomerAuthDomains
logging.getLogger('zssdk.zpa').setLevel(logging.DEBUG)
logging.basicConfig(level=logging.DEBUG)

session = zssdk.Session(
vanity_domain="your-vanity-domain",
client_id="your-client-id",
client_secret="your-client-secret",
)

# Call get_auth_domains_for_customer on CustomerAuthDomains
resource = session.zpa.CustomerAuthDomains()
result = resource.get_auth_domains_for_customer(customer_id=3600)
print(result)

# Debug output shows HTTP request/response details

Actions​

get_auth_domains_for_customer()​

Parameters:

NameTypeRequiredDescription
customer_idlongYes-

Returns: CustomerAuthDomains

Example:

resource = session.zpa.CustomerAuthDomains()
result = resource.get_auth_domains_for_customer(customer_id=3600)
print(result)

Attributes​

NameTypeRequiredDescription
auth_domainsstringCollectionNo-