Skip to main content

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:

NameTypeRequiredDescription
idintegerYes-
featurestringNo-

Example:

resource = session.zia.EmailTenant()
result = resource.tenant_allowed_to_disable_feature(id=3600)
print(result)

Attributes​

NameTypeRequiredDescription
applicationstringNo-
deletedbooleanNo-
email_tenant_idintegerNo-
enterprise_idstringNo-
last_modified_byEntityReferenceNo-
last_modified_timeintegerNo-
namestringNo-
onboardable_entityOnboardableEntityNo-
secretstringNo-
statusstringNo-
tenant_settingsEmailTenantSettingsCollectionNo-
typestringNo-
versionintegerNo-