EmailTenant
Email Tenant resource for Internet 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 EmailTenant
logging.getLogger('zssdk.zia').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 tenant_allowed_to_disable_feature on EmailTenant
resource = session.zia.EmailTenant()
result = resource.tenant_allowed_to_disable_feature(id=3600)
print(result)
# Debug output shows HTTP request/response details
Actions
tenant_allowed_to_disable_feature()
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | - |
feature | string | No | - |
Example:
resource = session.zia.EmailTenant()
result = resource.tenant_allowed_to_disable_feature(id=3600)
print(result)
Attributes
| Name | Type | Required | Description |
|---|---|---|---|
application | string | No | - |
deleted | boolean | No | - |
email_tenant_id | integer | No | - |
enterprise_id | string | No | - |
last_modified_by | EntityReference | No | - |
last_modified_time | integer | No | - |
name | string | No | - |
onboardable_entity | OnboardableEntity | No | - |
secret | string | No | - |
status | string | No | - |
tenant_settings | EmailTenantSettingsCollection | No | - |
type | string | No | - |
version | integer | No | - |
Related
- EmailTenant - Data structure definition
- Logging guide - enable verbose logs while debugging this resource