Policies
PoliciesDefault
Get the default device settings profile
client.zeroTrust.devices.policies.default.get(DefaultGetParams { account_id } params, RequestOptionsoptions?): DefaultGetResponse { allow_mode_switch, allow_updates, allowed_to_leave, 18 more } | null
GET/accounts/{account_id}/devices/policy
Update the default device settings profile
client.zeroTrust.devices.policies.default.edit(DefaultEditParams { account_id, allow_mode_switch, allow_updates, 16 more } params, RequestOptionsoptions?): DefaultEditResponse { allow_mode_switch, allow_updates, allowed_to_leave, 18 more } | null
PATCH/accounts/{account_id}/devices/policy
PoliciesDefaultExcludes
Get the Split Tunnel exclude list
client.zeroTrust.devices.policies.default.excludes.get(ExcludeGetParams { account_id } params, RequestOptionsoptions?): SinglePage<SplitTunnelExclude>
GET/accounts/{account_id}/devices/policy/exclude
Set the Split Tunnel exclude list
client.zeroTrust.devices.policies.default.excludes.update(ExcludeUpdateParams { account_id, body } params, RequestOptionsoptions?): SinglePage<SplitTunnelExclude>
PUT/accounts/{account_id}/devices/policy/exclude
PoliciesDefaultIncludes
Get the Split Tunnel include list
client.zeroTrust.devices.policies.default.includes.get(IncludeGetParams { account_id } params, RequestOptionsoptions?): SinglePage<SplitTunnelInclude>
GET/accounts/{account_id}/devices/policy/include
Set the Split Tunnel include list
client.zeroTrust.devices.policies.default.includes.update(IncludeUpdateParams { account_id, body } params, RequestOptionsoptions?): SinglePage<SplitTunnelInclude>
PUT/accounts/{account_id}/devices/policy/include
PoliciesDefaultFallback Domains
Get your Local Domain Fallback list
client.zeroTrust.devices.policies.default.fallbackDomains.get(FallbackDomainGetParams { account_id } params, RequestOptionsoptions?): SinglePage<FallbackDomain { suffix, description, dns_server } >
GET/accounts/{account_id}/devices/policy/fallback_domains
Set your Local Domain Fallback list
client.zeroTrust.devices.policies.default.fallbackDomains.update(FallbackDomainUpdateParams { account_id, domains } params, RequestOptionsoptions?): SinglePage<FallbackDomain { suffix, description, dns_server } >
PUT/accounts/{account_id}/devices/policy/fallback_domains
PoliciesDefaultCertificates
Get device certificate provisioning status
client.zeroTrust.devices.policies.default.certificates.get(CertificateGetParams { zone_id } params, RequestOptionsoptions?): DevicePolicyCertificates { enabled } | null
GET/zones/{zone_id}/devices/policy/certificates
Update device certificate provisioning status
client.zeroTrust.devices.policies.default.certificates.edit(CertificateEditParams { zone_id, enabled } params, RequestOptionsoptions?): DevicePolicyCertificates { enabled } | null
PATCH/zones/{zone_id}/devices/policy/certificates
PoliciesCustom
List device settings profiles
client.zeroTrust.devices.policies.custom.list(CustomListParams { account_id } params, RequestOptionsoptions?): SinglePage<SettingsPolicy { allow_mode_switch, allow_updates, allowed_to_leave, 25 more } >
GET/accounts/{account_id}/devices/policies
Get device settings profile by ID
client.zeroTrust.devices.policies.custom.get(stringpolicyId, CustomGetParams { account_id } params, RequestOptionsoptions?): SettingsPolicy { allow_mode_switch, allow_updates, allowed_to_leave, 25 more } | null
GET/accounts/{account_id}/devices/policy/{policy_id}
Create a device settings profile
client.zeroTrust.devices.policies.custom.create(CustomCreateParams { account_id, match, name, 21 more } params, RequestOptionsoptions?): SettingsPolicy { allow_mode_switch, allow_updates, allowed_to_leave, 25 more } | null
POST/accounts/{account_id}/devices/policy
Update a device settings profile
client.zeroTrust.devices.policies.custom.edit(stringpolicyId, CustomEditParams { account_id, allow_mode_switch, allow_updates, 21 more } params, RequestOptionsoptions?): SettingsPolicy { allow_mode_switch, allow_updates, allowed_to_leave, 25 more } | null
PATCH/accounts/{account_id}/devices/policy/{policy_id}
Delete a device settings profile
client.zeroTrust.devices.policies.custom.delete(stringpolicyId, CustomDeleteParams { account_id } params, RequestOptionsoptions?): SinglePage<SettingsPolicy { allow_mode_switch, allow_updates, allowed_to_leave, 25 more } >
DELETE/accounts/{account_id}/devices/policy/{policy_id}
PoliciesCustomExcludes
Get the Split Tunnel exclude list for a device settings profile
client.zeroTrust.devices.policies.custom.excludes.get(stringpolicyId, ExcludeGetParams { account_id } params, RequestOptionsoptions?): SinglePage<SplitTunnelExclude>
GET/accounts/{account_id}/devices/policy/{policy_id}/exclude
Set the Split Tunnel exclude list for a device settings profile
client.zeroTrust.devices.policies.custom.excludes.update(stringpolicyId, ExcludeUpdateParams { account_id, body } params, RequestOptionsoptions?): SinglePage<SplitTunnelExclude>
PUT/accounts/{account_id}/devices/policy/{policy_id}/exclude
PoliciesCustomIncludes
Get the Split Tunnel include list for a device settings profile
client.zeroTrust.devices.policies.custom.includes.get(stringpolicyId, IncludeGetParams { account_id } params, RequestOptionsoptions?): SinglePage<SplitTunnelInclude>
GET/accounts/{account_id}/devices/policy/{policy_id}/include
Set the Split Tunnel include list for a device settings profile
client.zeroTrust.devices.policies.custom.includes.update(stringpolicyId, IncludeUpdateParams { account_id, body } params, RequestOptionsoptions?): SinglePage<SplitTunnelInclude>
PUT/accounts/{account_id}/devices/policy/{policy_id}/include
PoliciesCustomFallback Domains
Get the Local Domain Fallback list for a device settings profile
client.zeroTrust.devices.policies.custom.fallbackDomains.get(stringpolicyId, FallbackDomainGetParams { account_id } params, RequestOptionsoptions?): SinglePage<FallbackDomain { suffix, description, dns_server } >
GET/accounts/{account_id}/devices/policy/{policy_id}/fallback_domains
Set the Local Domain Fallback list for a device settings profile
client.zeroTrust.devices.policies.custom.fallbackDomains.update(stringpolicyId, FallbackDomainUpdateParams { account_id, domains } params, RequestOptionsoptions?): SinglePage<FallbackDomain { suffix, description, dns_server } >
PUT/accounts/{account_id}/devices/policy/{policy_id}/fallback_domains