ConfigDepartment
Config Department resource for Zscaler Digital Experience.
Resource operations
This resource supports the following standard methods: load(). 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 ConfigDepartment
logging.getLogger('zssdk.zdx').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 ConfigDepartment
resource = session.zdx.ConfigDepartment(id="your-resource-id")
resource.load()
print(resource)
# Debug output shows HTTP request/response details
Identifiers
| Name | Type | Description |
|---|---|---|
id | string | Unique identifier |
Actions
load()
Gets information for a specific department by its ID.
Fetches an existing ConfigDepartment by id. Only the id identifier is required; load() takes no other arguments.
Returns: ConfigDepartment
Example:
resource = session.zdx.ConfigDepartment(id="your-resource-id")
resource.load()
print(resource.name)
Attributes
| Name | Type | Required | Description |
|---|---|---|---|
comments | string | No | - |
deleted | boolean | No | - |
id | integer | No | - |
idp_id | long | No | - |
is_for_unauthenticated_user | boolean | No | - |
is_non_editable | boolean | No | - |
name | string | Yes | - |
Related
- ConfigDepartment - Data structure definition
- Logging guide - enable verbose logs while debugging this resource