Gateway
Get Zero Trust account information
client.ZeroTrust.Gateway.List(ctx, query) (*GatewayListResponse, error)
GET/accounts/{account_id}/gateway
Create Zero Trust account
client.ZeroTrust.Gateway.New(ctx, body) (*GatewayNewResponse, error)
POST/accounts/{account_id}/gateway
GatewayAudit SSH Settings
Get Zero Trust SSH settings
client.ZeroTrust.Gateway.AuditSSHSettings.Get(ctx, query) (*GatewaySettings, error)
GET/accounts/{account_id}/gateway/audit_ssh_settings
Update Zero Trust SSH settings
client.ZeroTrust.Gateway.AuditSSHSettings.Update(ctx, params) (*GatewaySettings, error)
PUT/accounts/{account_id}/gateway/audit_ssh_settings
Rotate Zero Trust SSH account seed
client.ZeroTrust.Gateway.AuditSSHSettings.RotateSeed(ctx, body) (*GatewaySettings, error)
POST/accounts/{account_id}/gateway/audit_ssh_settings/rotate_seed
GatewayCategories
List categories
client.ZeroTrust.Gateway.Categories.List(ctx, query) (*SinglePage[Category], error)
GET/accounts/{account_id}/gateway/categories
GatewayApp Types
List application and application type mappings
client.ZeroTrust.Gateway.AppTypes.List(ctx, query) (*SinglePage[AppType], error)
GET/accounts/{account_id}/gateway/app_types
GatewayConfigurations
Get Zero Trust account configuration
client.ZeroTrust.Gateway.Configurations.Get(ctx, query) (*GatewayConfigurationGetResponse, error)
GET/accounts/{account_id}/gateway/configuration
Update Zero Trust account configuration
client.ZeroTrust.Gateway.Configurations.Update(ctx, params) (*GatewayConfigurationUpdateResponse, error)
PUT/accounts/{account_id}/gateway/configuration
Patch Zero Trust account configuration
client.ZeroTrust.Gateway.Configurations.Edit(ctx, params) (*GatewayConfigurationEditResponse, error)
PATCH/accounts/{account_id}/gateway/configuration
GatewayConfigurationsCustom Certificate
Get Zero Trust certificate configuration
Deprecated
client.ZeroTrust.Gateway.Configurations.CustomCertificate.Get(ctx, query) (*CustomCertificateSettings, error)
GET/accounts/{account_id}/gateway/configuration/custom_certificate
GatewayLists
List Zero Trust lists
client.ZeroTrust.Gateway.Lists.List(ctx, params) (*SinglePage[GatewayList], error)
GET/accounts/{account_id}/gateway/lists
Get Zero Trust list details
client.ZeroTrust.Gateway.Lists.Get(ctx, listID, query) (*GatewayList, error)
GET/accounts/{account_id}/gateway/lists/{list_id}
Create Zero Trust list
client.ZeroTrust.Gateway.Lists.New(ctx, params) (*GatewayListNewResponse, error)
POST/accounts/{account_id}/gateway/lists
Update Zero Trust list
client.ZeroTrust.Gateway.Lists.Update(ctx, listID, params) (*GatewayList, error)
PUT/accounts/{account_id}/gateway/lists/{list_id}
Patch Zero Trust list.
client.ZeroTrust.Gateway.Lists.Edit(ctx, listID, params) (*GatewayList, error)
PATCH/accounts/{account_id}/gateway/lists/{list_id}
Delete Zero Trust list
client.ZeroTrust.Gateway.Lists.Delete(ctx, listID, body) (*GatewayListDeleteResponse, error)
DELETE/accounts/{account_id}/gateway/lists/{list_id}
GatewayListsItems
Get Zero Trust list items
client.ZeroTrust.Gateway.Lists.Items.List(ctx, listID, query) (*SinglePage[[]GatewayItem], error)
GET/accounts/{account_id}/gateway/lists/{list_id}/items
GatewayLocations
List Zero Trust Gateway locations
client.ZeroTrust.Gateway.Locations.List(ctx, query) (*SinglePage[Location], error)
GET/accounts/{account_id}/gateway/locations
Get Zero Trust Gateway location details
client.ZeroTrust.Gateway.Locations.Get(ctx, locationID, query) (*Location, error)
GET/accounts/{account_id}/gateway/locations/{location_id}
Create a Zero Trust Gateway location
client.ZeroTrust.Gateway.Locations.New(ctx, params) (*Location, error)
POST/accounts/{account_id}/gateway/locations
Update a Zero Trust Gateway location
client.ZeroTrust.Gateway.Locations.Update(ctx, locationID, params) (*Location, error)
PUT/accounts/{account_id}/gateway/locations/{location_id}
Delete a Zero Trust Gateway location
client.ZeroTrust.Gateway.Locations.Delete(ctx, locationID, body) (*GatewayLocationDeleteResponse, error)
DELETE/accounts/{account_id}/gateway/locations/{location_id}
GatewayLogging
Get logging settings for the Zero Trust account
client.ZeroTrust.Gateway.Logging.Get(ctx, query) (*LoggingSetting, error)
GET/accounts/{account_id}/gateway/logging
Update Zero Trust account logging settings
client.ZeroTrust.Gateway.Logging.Update(ctx, params) (*LoggingSetting, error)
PUT/accounts/{account_id}/gateway/logging
GatewayProxy Endpoints
List proxy endpoints
client.ZeroTrust.Gateway.ProxyEndpoints.List(ctx, query) (*SinglePage[ProxyEndpoint], error)
GET/accounts/{account_id}/gateway/proxy_endpoints
Get a proxy endpoint
client.ZeroTrust.Gateway.ProxyEndpoints.Get(ctx, proxyEndpointID, query) (*ProxyEndpoint, error)
GET/accounts/{account_id}/gateway/proxy_endpoints/{proxy_endpoint_id}
Create a proxy endpoint
client.ZeroTrust.Gateway.ProxyEndpoints.New(ctx, params) (*ProxyEndpoint, error)
POST/accounts/{account_id}/gateway/proxy_endpoints
Update a proxy endpoint
client.ZeroTrust.Gateway.ProxyEndpoints.Edit(ctx, proxyEndpointID, params) (*ProxyEndpoint, error)
PATCH/accounts/{account_id}/gateway/proxy_endpoints/{proxy_endpoint_id}
Delete a proxy endpoint
client.ZeroTrust.Gateway.ProxyEndpoints.Delete(ctx, proxyEndpointID, body) (*GatewayProxyEndpointDeleteResponse, error)
DELETE/accounts/{account_id}/gateway/proxy_endpoints/{proxy_endpoint_id}
GatewayRules
List Zero Trust Gateway rules
client.ZeroTrust.Gateway.Rules.List(ctx, query) (*SinglePage[GatewayRule], error)
GET/accounts/{account_id}/gateway/rules
Get Zero Trust Gateway rule details.
client.ZeroTrust.Gateway.Rules.Get(ctx, ruleID, query) (*GatewayRule, error)
GET/accounts/{account_id}/gateway/rules/{rule_id}
Create a Zero Trust Gateway rule
client.ZeroTrust.Gateway.Rules.New(ctx, params) (*GatewayRule, error)
POST/accounts/{account_id}/gateway/rules
Update a Zero Trust Gateway rule
client.ZeroTrust.Gateway.Rules.Update(ctx, ruleID, params) (*GatewayRule, error)
PUT/accounts/{account_id}/gateway/rules/{rule_id}
Delete a Zero Trust Gateway rule
client.ZeroTrust.Gateway.Rules.Delete(ctx, ruleID, body) (*GatewayRuleDeleteResponse, error)
DELETE/accounts/{account_id}/gateway/rules/{rule_id}
List Zero Trust Gateway rules inherited from the parent account
client.ZeroTrust.Gateway.Rules.ListTenant(ctx, query) (*SinglePage[GatewayRule], error)
GET/accounts/{account_id}/gateway/rules/tenant
Reset the expiration of a Zero Trust Gateway Rule
client.ZeroTrust.Gateway.Rules.ResetExpiration(ctx, ruleID, body) (*GatewayRule, error)
POST/accounts/{account_id}/gateway/rules/{rule_id}/reset_expiration
GatewayCertificates
List Zero Trust certificates
client.ZeroTrust.Gateway.Certificates.List(ctx, query) (*SinglePage[GatewayCertificateListResponse], error)
GET/accounts/{account_id}/gateway/certificates
Get Zero Trust certificate details
client.ZeroTrust.Gateway.Certificates.Get(ctx, certificateID, query) (*GatewayCertificateGetResponse, error)
GET/accounts/{account_id}/gateway/certificates/{certificate_id}
Create Zero Trust certificate
client.ZeroTrust.Gateway.Certificates.New(ctx, params) (*GatewayCertificateNewResponse, error)
POST/accounts/{account_id}/gateway/certificates
Delete Zero Trust certificate
client.ZeroTrust.Gateway.Certificates.Delete(ctx, certificateID, body) (*GatewayCertificateDeleteResponse, error)
DELETE/accounts/{account_id}/gateway/certificates/{certificate_id}
Activate a Zero Trust certificate
client.ZeroTrust.Gateway.Certificates.Activate(ctx, certificateID, params) (*GatewayCertificateActivateResponse, error)
POST/accounts/{account_id}/gateway/certificates/{certificate_id}/activate
Deactivate a Zero Trust certificate
client.ZeroTrust.Gateway.Certificates.Deactivate(ctx, certificateID, params) (*GatewayCertificateDeactivateResponse, error)
POST/accounts/{account_id}/gateway/certificates/{certificate_id}/deactivate
GatewayPacfiles
List PAC files
client.ZeroTrust.Gateway.Pacfiles.List(ctx, query) (*SinglePage[GatewayPacfileListResponse], error)
GET/accounts/{account_id}/gateway/pacfiles
Get a PAC file
client.ZeroTrust.Gateway.Pacfiles.Get(ctx, pacfileID, query) (*GatewayPacfileGetResponse, error)
GET/accounts/{account_id}/gateway/pacfiles/{pacfile_id}
Create a PAC file
client.ZeroTrust.Gateway.Pacfiles.New(ctx, params) (*GatewayPacfileNewResponse, error)
POST/accounts/{account_id}/gateway/pacfiles
Update a Zero Trust Gateway PAC file
client.ZeroTrust.Gateway.Pacfiles.Update(ctx, pacfileID, params) (*GatewayPacfileUpdateResponse, error)
PUT/accounts/{account_id}/gateway/pacfiles/{pacfile_id}
Delete a PAC file
client.ZeroTrust.Gateway.Pacfiles.Delete(ctx, pacfileID, body) (*GatewayPacfileDeleteResponse, error)
DELETE/accounts/{account_id}/gateway/pacfiles/{pacfile_id}