Skip to main content

ClientSetting

Client Setting resource for Zscaler Private Access V1.

Resource operations

This resource supports the following standard methods: create(), delete(). They operate on the instance state — set properties with dot notation, then call the method with no arguments.

Quick Start​

import zssdk
import logging

# Enable debug logging for ClientSetting
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",
)

# Get a specific ClientSetting
resource = session.zpa.ClientSetting(id="your-resource-id")
resource.load()
print(resource)

# Debug output shows HTTP request/response details

Identifiers​

NameTypeDescription
idstringUnique identifier

Actions​

create()​

Creates a new ClientSetting. Set properties on the resource instance, then call create() — this method takes no arguments.

Properties for creation:

NameTypeRequiredDescription
customer_idlongYes-
idlongNo-
modified_timeintegerNo-
creation_timeintegerNo-
modified_bylongNo-
microtenant_idlongNo-
enrollment_cert_idlongNo-
client_certificate_typestringNo-
enrollment_cert_namestringNo-
signing_cert_expiry_in_epoch_seclongNo-
namestringNo-

Example:

resource = session.zpa.ClientSetting()
resource.customer_id = "resource-id"
resource.create()
print(f"Created with ID: {resource.id}")

delete()​

Deletes a ClientSetting by id. Only the id identifier is required; delete() takes no other arguments.

Example:

resource = session.zpa.ClientSetting(id="your-resource-id")
resource.delete()

Attributes​

NameTypeRequiredDescription
idlongNo-
modified_timeintegerNo-
creation_timeintegerNo-
modified_bylongNo-
microtenant_idlongNo-
enrollment_cert_idlongNo-
client_certificate_typestringNo-
enrollment_cert_namestringNo-
signing_cert_expiry_in_epoch_seclongNo-
namestringNo-