Gateway
Get Zero Trust account information
client.zeroTrust.gateway.list(GatewayListParams { account_id } params, RequestOptionsoptions?): GatewayListResponse { id, gateway_tag, provider_name }
GET/accounts/{account_id}/gateway
Create Zero Trust account
client.zeroTrust.gateway.create(GatewayCreateParams { account_id } params, RequestOptionsoptions?): GatewayCreateResponse { id, gateway_tag, provider_name }
POST/accounts/{account_id}/gateway
GatewayAudit SSH Settings
Get Zero Trust SSH settings
client.zeroTrust.gateway.auditSSHSettings.get(AuditSSHSettingGetParams { account_id } params, RequestOptionsoptions?): GatewaySettings { created_at, public_key, seed_id, updated_at }
GET/accounts/{account_id}/gateway/audit_ssh_settings
Update Zero Trust SSH settings
client.zeroTrust.gateway.auditSSHSettings.update(AuditSSHSettingUpdateParams { account_id, public_key } params, RequestOptionsoptions?): GatewaySettings { created_at, public_key, seed_id, updated_at }
PUT/accounts/{account_id}/gateway/audit_ssh_settings
Rotate Zero Trust SSH account seed
client.zeroTrust.gateway.auditSSHSettings.rotateSeed(AuditSSHSettingRotateSeedParams { account_id } params, RequestOptionsoptions?): GatewaySettings { created_at, public_key, seed_id, updated_at }
POST/accounts/{account_id}/gateway/audit_ssh_settings/rotate_seed
GatewayCategories
List categories
client.zeroTrust.gateway.categories.list(CategoryListParams { account_id } params, RequestOptionsoptions?): SinglePage<Category { id, beta, class, 3 more } >
GET/accounts/{account_id}/gateway/categories
GatewayApp Types
List application and application type mappings
client.zeroTrust.gateway.appTypes.list(AppTypeListParams { account_id } params, RequestOptionsoptions?): SinglePage<AppType>
GET/accounts/{account_id}/gateway/app_types
GatewayConfigurations
Get Zero Trust account configuration
client.zeroTrust.gateway.configurations.get(ConfigurationGetParams { account_id } params, RequestOptionsoptions?): ConfigurationGetResponse { created_at, settings, updated_at }
GET/accounts/{account_id}/gateway/configuration
Update Zero Trust account configuration
client.zeroTrust.gateway.configurations.update(ConfigurationUpdateParams { account_id, settings } params, RequestOptionsoptions?): ConfigurationUpdateResponse { created_at, settings, updated_at }
PUT/accounts/{account_id}/gateway/configuration
Patch Zero Trust account configuration
client.zeroTrust.gateway.configurations.edit(ConfigurationEditParams { account_id, settings } params, RequestOptionsoptions?): ConfigurationEditResponse { created_at, settings, updated_at }
PATCH/accounts/{account_id}/gateway/configuration
GatewayConfigurationsCustom Certificate
Get Zero Trust certificate configuration
Deprecated
client.zeroTrust.gateway.configurations.customCertificate.get(CustomCertificateGetParams { account_id } params, RequestOptionsoptions?): CustomCertificateSettings { enabled, id, binding_status, updated_at } | null
GET/accounts/{account_id}/gateway/configuration/custom_certificate
GatewayLists
List Zero Trust lists
client.zeroTrust.gateway.lists.list(ListListParams { account_id, type } params, RequestOptionsoptions?): SinglePage<GatewayList { id, count, created_at, 5 more } >
GET/accounts/{account_id}/gateway/lists
Get Zero Trust list details
client.zeroTrust.gateway.lists.get(stringlistId, ListGetParams { account_id } params, RequestOptionsoptions?): GatewayList { id, count, created_at, 5 more }
GET/accounts/{account_id}/gateway/lists/{list_id}
Create Zero Trust list
client.zeroTrust.gateway.lists.create(ListCreateParams { account_id, name, type, 2 more } params, RequestOptionsoptions?): ListCreateResponse { id, created_at, description, 4 more }
POST/accounts/{account_id}/gateway/lists
Update Zero Trust list
client.zeroTrust.gateway.lists.update(stringlistId, ListUpdateParams { account_id, name, description, items } params, RequestOptionsoptions?): GatewayList { id, count, created_at, 5 more }
PUT/accounts/{account_id}/gateway/lists/{list_id}
Patch Zero Trust list.
client.zeroTrust.gateway.lists.edit(stringlistId, ListEditParams { account_id, append, remove } params, RequestOptionsoptions?): GatewayList { id, count, created_at, 5 more }
PATCH/accounts/{account_id}/gateway/lists/{list_id}
Delete Zero Trust list
client.zeroTrust.gateway.lists.delete(stringlistId, ListDeleteParams { account_id } params, RequestOptionsoptions?): ListDeleteResponse
DELETE/accounts/{account_id}/gateway/lists/{list_id}
GatewayListsItems
Get Zero Trust list items
client.zeroTrust.gateway.lists.items.list(stringlistId, ItemListParams { account_id } params, RequestOptionsoptions?): SinglePage<ItemListResponse { created_at, description, value } >
GET/accounts/{account_id}/gateway/lists/{list_id}/items
GatewayLocations
List Zero Trust Gateway locations
client.zeroTrust.gateway.locations.list(LocationListParams { account_id } params, RequestOptionsoptions?): SinglePage<Location { id, client_default, created_at, 11 more } >
GET/accounts/{account_id}/gateway/locations
Get Zero Trust Gateway location details
client.zeroTrust.gateway.locations.get(stringlocationId, LocationGetParams { account_id } params, RequestOptionsoptions?): Location { id, client_default, created_at, 11 more }
GET/accounts/{account_id}/gateway/locations/{location_id}
Create a Zero Trust Gateway location
client.zeroTrust.gateway.locations.create(LocationCreateParams { account_id, name, client_default, 4 more } params, RequestOptionsoptions?): Location { id, client_default, created_at, 11 more }
POST/accounts/{account_id}/gateway/locations
Update a Zero Trust Gateway location
client.zeroTrust.gateway.locations.update(stringlocationId, LocationUpdateParams { account_id, name, client_default, 4 more } params, RequestOptionsoptions?): Location { id, client_default, created_at, 11 more }
PUT/accounts/{account_id}/gateway/locations/{location_id}
Delete a Zero Trust Gateway location
client.zeroTrust.gateway.locations.delete(stringlocationId, LocationDeleteParams { account_id } params, RequestOptionsoptions?): LocationDeleteResponse
DELETE/accounts/{account_id}/gateway/locations/{location_id}
GatewayLogging
Get logging settings for the Zero Trust account
client.zeroTrust.gateway.logging.get(LoggingGetParams { account_id } params, RequestOptionsoptions?): LoggingSetting { redact_pii, settings_by_rule_type }
GET/accounts/{account_id}/gateway/logging
Update Zero Trust account logging settings
client.zeroTrust.gateway.logging.update(LoggingUpdateParams { account_id, redact_pii, settings_by_rule_type } params, RequestOptionsoptions?): LoggingSetting { redact_pii, settings_by_rule_type }
PUT/accounts/{account_id}/gateway/logging
GatewayProxy Endpoints
List proxy endpoints
client.zeroTrust.gateway.proxyEndpoints.list(ProxyEndpointListParams { account_id } params, RequestOptionsoptions?): SinglePage<ProxyEndpoint>
GET/accounts/{account_id}/gateway/proxy_endpoints
Get a proxy endpoint
client.zeroTrust.gateway.proxyEndpoints.get(stringproxyEndpointId, ProxyEndpointGetParams { account_id } params, RequestOptionsoptions?): ProxyEndpoint
GET/accounts/{account_id}/gateway/proxy_endpoints/{proxy_endpoint_id}
Create a proxy endpoint
client.zeroTrust.gateway.proxyEndpoints.create(ProxyEndpointCreateParamsparams, RequestOptionsoptions?): ProxyEndpoint
POST/accounts/{account_id}/gateway/proxy_endpoints
Update a proxy endpoint
client.zeroTrust.gateway.proxyEndpoints.edit(stringproxyEndpointId, ProxyEndpointEditParams { account_id, ips, name } params, RequestOptionsoptions?): ProxyEndpoint
PATCH/accounts/{account_id}/gateway/proxy_endpoints/{proxy_endpoint_id}
Delete a proxy endpoint
client.zeroTrust.gateway.proxyEndpoints.delete(stringproxyEndpointId, ProxyEndpointDeleteParams { account_id } params, RequestOptionsoptions?): ProxyEndpointDeleteResponse
DELETE/accounts/{account_id}/gateway/proxy_endpoints/{proxy_endpoint_id}
GatewayRules
List Zero Trust Gateway rules
client.zeroTrust.gateway.rules.list(RuleListParams { account_id } params, RequestOptionsoptions?): SinglePage<GatewayRule { action, enabled, filters, 18 more } >
GET/accounts/{account_id}/gateway/rules
Get Zero Trust Gateway rule details.
client.zeroTrust.gateway.rules.get(stringruleId, RuleGetParams { account_id } params, RequestOptionsoptions?): GatewayRule { action, enabled, filters, 18 more }
GET/accounts/{account_id}/gateway/rules/{rule_id}
Create a Zero Trust Gateway rule
client.zeroTrust.gateway.rules.create(RuleCreateParams { account_id, action, name, 10 more } params, RequestOptionsoptions?): GatewayRule { action, enabled, filters, 18 more }
POST/accounts/{account_id}/gateway/rules
Update a Zero Trust Gateway rule
client.zeroTrust.gateway.rules.update(stringruleId, RuleUpdateParams { account_id, action, name, 10 more } params, RequestOptionsoptions?): GatewayRule { action, enabled, filters, 18 more }
PUT/accounts/{account_id}/gateway/rules/{rule_id}
Delete a Zero Trust Gateway rule
client.zeroTrust.gateway.rules.delete(stringruleId, RuleDeleteParams { account_id } params, RequestOptionsoptions?): RuleDeleteResponse
DELETE/accounts/{account_id}/gateway/rules/{rule_id}
List Zero Trust Gateway rules inherited from the parent account
client.zeroTrust.gateway.rules.listTenant(RuleListTenantParams { account_id } params, RequestOptionsoptions?): SinglePage<GatewayRule { action, enabled, filters, 18 more } >
GET/accounts/{account_id}/gateway/rules/tenant
Reset the expiration of a Zero Trust Gateway Rule
client.zeroTrust.gateway.rules.resetExpiration(stringruleId, RuleResetExpirationParams { account_id } params, RequestOptionsoptions?): GatewayRule { action, enabled, filters, 18 more }
POST/accounts/{account_id}/gateway/rules/{rule_id}/reset_expiration
GatewayCertificates
List Zero Trust certificates
client.zeroTrust.gateway.certificates.list(CertificateListParams { account_id } params, RequestOptionsoptions?): SinglePage<CertificateListResponse { id, binding_status, certificate, 9 more } >
GET/accounts/{account_id}/gateway/certificates
Get Zero Trust certificate details
client.zeroTrust.gateway.certificates.get(stringcertificateId, CertificateGetParams { account_id } params, RequestOptionsoptions?): CertificateGetResponse { id, binding_status, certificate, 9 more }
GET/accounts/{account_id}/gateway/certificates/{certificate_id}
Create Zero Trust certificate
client.zeroTrust.gateway.certificates.create(CertificateCreateParams { account_id, validity_period_days } params, RequestOptionsoptions?): CertificateCreateResponse { id, binding_status, certificate, 9 more }
POST/accounts/{account_id}/gateway/certificates
Delete Zero Trust certificate
client.zeroTrust.gateway.certificates.delete(stringcertificateId, CertificateDeleteParams { account_id } params, RequestOptionsoptions?): CertificateDeleteResponse { id, binding_status, certificate, 9 more }
DELETE/accounts/{account_id}/gateway/certificates/{certificate_id}
Activate a Zero Trust certificate
client.zeroTrust.gateway.certificates.activate(stringcertificateId, CertificateActivateParams { account_id, body } params, RequestOptionsoptions?): CertificateActivateResponse { id, binding_status, certificate, 9 more }
POST/accounts/{account_id}/gateway/certificates/{certificate_id}/activate
Deactivate a Zero Trust certificate
client.zeroTrust.gateway.certificates.deactivate(stringcertificateId, CertificateDeactivateParams { account_id, body } params, RequestOptionsoptions?): CertificateDeactivateResponse { id, binding_status, certificate, 9 more }
POST/accounts/{account_id}/gateway/certificates/{certificate_id}/deactivate
GatewayPacfiles
List PAC files
client.zeroTrust.gateway.pacfiles.list(PacfileListParams { account_id } params, RequestOptionsoptions?): SinglePage<PacfileListResponse { id, created_at, description, 4 more } >
GET/accounts/{account_id}/gateway/pacfiles
Get a PAC file
client.zeroTrust.gateway.pacfiles.get(stringpacfileId, PacfileGetParams { account_id } params, RequestOptionsoptions?): PacfileGetResponse { id, contents, created_at, 5 more }
GET/accounts/{account_id}/gateway/pacfiles/{pacfile_id}
Create a PAC file
client.zeroTrust.gateway.pacfiles.create(PacfileCreateParams { account_id, contents, name, 2 more } params, RequestOptionsoptions?): PacfileCreateResponse { id, contents, created_at, 5 more }
POST/accounts/{account_id}/gateway/pacfiles
Update a Zero Trust Gateway PAC file
client.zeroTrust.gateway.pacfiles.update(stringpacfileId, PacfileUpdateParams { account_id, contents, description, name } params, RequestOptionsoptions?): PacfileUpdateResponse { id, contents, created_at, 5 more }
PUT/accounts/{account_id}/gateway/pacfiles/{pacfile_id}
Delete a PAC file
client.zeroTrust.gateway.pacfiles.delete(stringpacfileId, PacfileDeleteParams { account_id } params, RequestOptionsoptions?): PacfileDeleteResponse
DELETE/accounts/{account_id}/gateway/pacfiles/{pacfile_id}