Zero Trust
Zero TrustDevices
List devices (deprecated)
Deprecated
client.ZeroTrust.Devices.List(ctx, query) (*SinglePage[Device], error)
GET/accounts/{account_id}/devices
Get device (deprecated)
Deprecated
client.ZeroTrust.Devices.Get(ctx, deviceID, query) (*DeviceGetResponse, error)
GET/accounts/{account_id}/devices/{device_id}
Zero TrustDevicesDevices
List devices
client.ZeroTrust.Devices.Devices.List(ctx, params) (*CursorPagination[DeviceDeviceListResponse], error)
GET/accounts/{account_id}/devices/physical-devices
Get device
client.ZeroTrust.Devices.Devices.Get(ctx, deviceID, params) (*DeviceDeviceGetResponse, error)
GET/accounts/{account_id}/devices/physical-devices/{device_id}
Delete device
client.ZeroTrust.Devices.Devices.Delete(ctx, deviceID, body) (*DeviceDeviceDeleteResponse, error)
DELETE/accounts/{account_id}/devices/physical-devices/{device_id}
Revoke device registrations
client.ZeroTrust.Devices.Devices.Revoke(ctx, deviceID, body) (*DeviceDeviceRevokeResponse, error)
POST/accounts/{account_id}/devices/physical-devices/{device_id}/revoke
Zero TrustDevicesResilience
Zero TrustDevicesResilienceGlobal WARP Override
Retrieve Global WARP override state
client.ZeroTrust.Devices.Resilience.GlobalWARPOverride.Get(ctx, query) (*DeviceResilienceGlobalWARPOverrideGetResponse, error)
GET/accounts/{account_id}/devices/resilience/disconnect
Set Global WARP override state
client.ZeroTrust.Devices.Resilience.GlobalWARPOverride.New(ctx, params) (*DeviceResilienceGlobalWARPOverrideNewResponse, error)
POST/accounts/{account_id}/devices/resilience/disconnect
Zero TrustDevicesRegistrations
List registrations
client.ZeroTrust.Devices.Registrations.List(ctx, params) (*CursorPagination[DeviceRegistrationListResponse], error)
GET/accounts/{account_id}/devices/registrations
Get registration
client.ZeroTrust.Devices.Registrations.Get(ctx, registrationID, params) (*DeviceRegistrationGetResponse, error)
GET/accounts/{account_id}/devices/registrations/{registration_id}
Delete registration
client.ZeroTrust.Devices.Registrations.Delete(ctx, registrationID, body) (*DeviceRegistrationDeleteResponse, error)
DELETE/accounts/{account_id}/devices/registrations/{registration_id}
Delete registrations
client.ZeroTrust.Devices.Registrations.BulkDelete(ctx, params) (*DeviceRegistrationBulkDeleteResponse, error)
DELETE/accounts/{account_id}/devices/registrations
Revoke registrations
client.ZeroTrust.Devices.Registrations.Revoke(ctx, params) (*DeviceRegistrationRevokeResponse, error)
POST/accounts/{account_id}/devices/registrations/revoke
Unrevoke registrations
client.ZeroTrust.Devices.Registrations.Unrevoke(ctx, params) (*DeviceRegistrationUnrevokeResponse, error)
POST/accounts/{account_id}/devices/registrations/unrevoke
Zero TrustDevicesDEX Tests
List Device DEX tests
client.ZeroTrust.Devices.DEXTests.List(ctx, params) (*V4PagePaginationArray[DeviceDEXTestListResponse], error)
GET/accounts/{account_id}/dex/devices/dex_tests
Get Device DEX test
client.ZeroTrust.Devices.DEXTests.Get(ctx, dexTestID, query) (*DeviceDEXTestGetResponse, error)
GET/accounts/{account_id}/dex/devices/dex_tests/{dex_test_id}
Create Device DEX test
client.ZeroTrust.Devices.DEXTests.New(ctx, params) (*DeviceDEXTestNewResponse, error)
POST/accounts/{account_id}/dex/devices/dex_tests
Update Device DEX test
client.ZeroTrust.Devices.DEXTests.Update(ctx, dexTestID, params) (*DeviceDEXTestUpdateResponse, error)
PUT/accounts/{account_id}/dex/devices/dex_tests/{dex_test_id}
Delete Device DEX test
client.ZeroTrust.Devices.DEXTests.Delete(ctx, dexTestID, body) (*DeviceDEXTestDeleteResponse, error)
DELETE/accounts/{account_id}/dex/devices/dex_tests/{dex_test_id}
Zero TrustDevicesIP Profiles
List IP profiles
client.ZeroTrust.Devices.IPProfiles.List(ctx, params) (*SinglePage[IPProfile], error)
GET/accounts/{account_id}/devices/ip-profiles
Get IP profile
client.ZeroTrust.Devices.IPProfiles.Get(ctx, profileID, query) (*IPProfile, error)
GET/accounts/{account_id}/devices/ip-profiles/{profile_id}
Create IP profile
client.ZeroTrust.Devices.IPProfiles.New(ctx, params) (*IPProfile, error)
POST/accounts/{account_id}/devices/ip-profiles
Update IP profile
client.ZeroTrust.Devices.IPProfiles.Update(ctx, profileID, params) (*IPProfile, error)
PATCH/accounts/{account_id}/devices/ip-profiles/{profile_id}
Delete IP profile
client.ZeroTrust.Devices.IPProfiles.Delete(ctx, profileID, body) (*DeviceIPProfileDeleteResponse, error)
DELETE/accounts/{account_id}/devices/ip-profiles/{profile_id}
Zero TrustDevicesNetworks
List your device managed networks
client.ZeroTrust.Devices.Networks.List(ctx, query) (*SinglePage[DeviceNetwork], error)
GET/accounts/{account_id}/devices/networks
Get device managed network details
client.ZeroTrust.Devices.Networks.Get(ctx, networkID, query) (*DeviceNetwork, error)
GET/accounts/{account_id}/devices/networks/{network_id}
Create a device managed network
client.ZeroTrust.Devices.Networks.New(ctx, params) (*DeviceNetwork, error)
POST/accounts/{account_id}/devices/networks
Update a device managed network
client.ZeroTrust.Devices.Networks.Update(ctx, networkID, params) (*DeviceNetwork, error)
PUT/accounts/{account_id}/devices/networks/{network_id}
Delete a device managed network
client.ZeroTrust.Devices.Networks.Delete(ctx, networkID, body) (*SinglePage[DeviceNetwork], error)
DELETE/accounts/{account_id}/devices/networks/{network_id}
Zero TrustDevicesFleet Status
Get the live status of a latest device
client.ZeroTrust.Devices.FleetStatus.Get(ctx, deviceID, params) (*DeviceFleetStatusGetResponse, error)
GET/accounts/{account_id}/dex/devices/{device_id}/fleet-status/live
Zero TrustDevicesPoliciesDefault
Get the default device settings profile
client.ZeroTrust.Devices.Policies.Default.Get(ctx, query) (*DevicePolicyDefaultGetResponse, error)
GET/accounts/{account_id}/devices/policy
Update the default device settings profile
client.ZeroTrust.Devices.Policies.Default.Edit(ctx, params) (*DevicePolicyDefaultEditResponse, error)
PATCH/accounts/{account_id}/devices/policy
Zero TrustDevicesPoliciesDefaultExcludes
Get the Split Tunnel exclude list
client.ZeroTrust.Devices.Policies.Default.Excludes.Get(ctx, query) (*SinglePage[SplitTunnelExclude], error)
GET/accounts/{account_id}/devices/policy/exclude
Set the Split Tunnel exclude list
client.ZeroTrust.Devices.Policies.Default.Excludes.Update(ctx, params) (*SinglePage[SplitTunnelExclude], error)
PUT/accounts/{account_id}/devices/policy/exclude
Zero TrustDevicesPoliciesDefaultIncludes
Get the Split Tunnel include list
client.ZeroTrust.Devices.Policies.Default.Includes.Get(ctx, query) (*SinglePage[SplitTunnelInclude], error)
GET/accounts/{account_id}/devices/policy/include
Set the Split Tunnel include list
client.ZeroTrust.Devices.Policies.Default.Includes.Update(ctx, params) (*SinglePage[SplitTunnelInclude], error)
PUT/accounts/{account_id}/devices/policy/include
Zero TrustDevicesPoliciesDefaultFallback Domains
Get your Local Domain Fallback list
client.ZeroTrust.Devices.Policies.Default.FallbackDomains.Get(ctx, query) (*SinglePage[FallbackDomain], error)
GET/accounts/{account_id}/devices/policy/fallback_domains
Set your Local Domain Fallback list
client.ZeroTrust.Devices.Policies.Default.FallbackDomains.Update(ctx, params) (*SinglePage[FallbackDomain], error)
PUT/accounts/{account_id}/devices/policy/fallback_domains
Zero TrustDevicesPoliciesDefaultCertificates
Get device certificate provisioning status
client.ZeroTrust.Devices.Policies.Default.Certificates.Get(ctx, query) (*DevicePolicyCertificates, error)
GET/zones/{zone_id}/devices/policy/certificates
Update device certificate provisioning status
client.ZeroTrust.Devices.Policies.Default.Certificates.Edit(ctx, params) (*DevicePolicyCertificates, error)
PATCH/zones/{zone_id}/devices/policy/certificates
Zero TrustDevicesPoliciesCustom
List device settings profiles
client.ZeroTrust.Devices.Policies.Custom.List(ctx, query) (*SinglePage[SettingsPolicy], error)
GET/accounts/{account_id}/devices/policies
Get device settings profile by ID
client.ZeroTrust.Devices.Policies.Custom.Get(ctx, policyID, query) (*SettingsPolicy, error)
GET/accounts/{account_id}/devices/policy/{policy_id}
Create a device settings profile
client.ZeroTrust.Devices.Policies.Custom.New(ctx, params) (*SettingsPolicy, error)
POST/accounts/{account_id}/devices/policy
Update a device settings profile
client.ZeroTrust.Devices.Policies.Custom.Edit(ctx, policyID, params) (*SettingsPolicy, error)
PATCH/accounts/{account_id}/devices/policy/{policy_id}
Delete a device settings profile
client.ZeroTrust.Devices.Policies.Custom.Delete(ctx, policyID, body) (*SinglePage[SettingsPolicy], error)
DELETE/accounts/{account_id}/devices/policy/{policy_id}
Zero TrustDevicesPoliciesCustomExcludes
Get the Split Tunnel exclude list for a device settings profile
client.ZeroTrust.Devices.Policies.Custom.Excludes.Get(ctx, policyID, query) (*SinglePage[SplitTunnelExclude], error)
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(ctx, policyID, params) (*SinglePage[SplitTunnelExclude], error)
PUT/accounts/{account_id}/devices/policy/{policy_id}/exclude
Zero TrustDevicesPoliciesCustomIncludes
Get the Split Tunnel include list for a device settings profile
client.ZeroTrust.Devices.Policies.Custom.Includes.Get(ctx, policyID, query) (*SinglePage[SplitTunnelInclude], error)
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(ctx, policyID, params) (*SinglePage[SplitTunnelInclude], error)
PUT/accounts/{account_id}/devices/policy/{policy_id}/include
Zero TrustDevicesPoliciesCustomFallback Domains
Get the Local Domain Fallback list for a device settings profile
client.ZeroTrust.Devices.Policies.Custom.FallbackDomains.Get(ctx, policyID, query) (*SinglePage[FallbackDomain], error)
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(ctx, policyID, params) (*SinglePage[FallbackDomain], error)
PUT/accounts/{account_id}/devices/policy/{policy_id}/fallback_domains
Zero TrustDevicesPosture
List device posture rules
client.ZeroTrust.Devices.Posture.List(ctx, query) (*SinglePage[DevicePostureRule], error)
GET/accounts/{account_id}/devices/posture
Get device posture rule details
client.ZeroTrust.Devices.Posture.Get(ctx, ruleID, query) (*DevicePostureRule, error)
GET/accounts/{account_id}/devices/posture/{rule_id}
Create a device posture rule
client.ZeroTrust.Devices.Posture.New(ctx, params) (*DevicePostureRule, error)
POST/accounts/{account_id}/devices/posture
Update a device posture rule
client.ZeroTrust.Devices.Posture.Update(ctx, ruleID, params) (*DevicePostureRule, error)
PUT/accounts/{account_id}/devices/posture/{rule_id}
Delete a device posture rule
client.ZeroTrust.Devices.Posture.Delete(ctx, ruleID, body) (*DevicePostureDeleteResponse, error)
DELETE/accounts/{account_id}/devices/posture/{rule_id}
Zero TrustDevicesPostureIntegrations
List your device posture integrations
client.ZeroTrust.Devices.Posture.Integrations.List(ctx, query) (*SinglePage[Integration], error)
GET/accounts/{account_id}/devices/posture/integration
Get device posture integration details
client.ZeroTrust.Devices.Posture.Integrations.Get(ctx, integrationID, query) (*Integration, error)
GET/accounts/{account_id}/devices/posture/integration/{integration_id}
Create a device posture integration
client.ZeroTrust.Devices.Posture.Integrations.New(ctx, params) (*Integration, error)
POST/accounts/{account_id}/devices/posture/integration
Update a device posture integration
client.ZeroTrust.Devices.Posture.Integrations.Edit(ctx, integrationID, params) (*Integration, error)
PATCH/accounts/{account_id}/devices/posture/integration/{integration_id}
Delete a device posture integration
client.ZeroTrust.Devices.Posture.Integrations.Delete(ctx, integrationID, body) (*unknown, error)
DELETE/accounts/{account_id}/devices/posture/integration/{integration_id}
Zero TrustDevicesRevoke
Revoke devices (deprecated)
Deprecated
client.ZeroTrust.Devices.Revoke.New(ctx, params) (*unknown, error)
POST/accounts/{account_id}/devices/revoke
Zero TrustDevicesSettings
Get device settings for a Zero Trust account
client.ZeroTrust.Devices.Settings.Get(ctx, query) (*DeviceSettings, error)
GET/accounts/{account_id}/devices/settings
Update device settings for a Zero Trust account
client.ZeroTrust.Devices.Settings.Update(ctx, params) (*DeviceSettings, error)
PUT/accounts/{account_id}/devices/settings
Patch device settings for a Zero Trust account
client.ZeroTrust.Devices.Settings.Edit(ctx, params) (*DeviceSettings, error)
PATCH/accounts/{account_id}/devices/settings
Reset device settings for a Zero Trust account with defaults. This turns off all proxying.
client.ZeroTrust.Devices.Settings.Delete(ctx, body) (*DeviceSettings, error)
DELETE/accounts/{account_id}/devices/settings
Zero TrustDevicesUnrevoke
Unrevoke devices (deprecated)
Deprecated
client.ZeroTrust.Devices.Unrevoke.New(ctx, params) (*unknown, error)
POST/accounts/{account_id}/devices/unrevoke
Zero TrustDevicesOverride Codes
Get override codes (deprecated)
Deprecated
client.ZeroTrust.Devices.OverrideCodes.List(ctx, deviceID, query) (*SinglePage[DeviceOverrideCodeListResponse], error)
GET/accounts/{account_id}/devices/{device_id}/override_codes
Get override codes
client.ZeroTrust.Devices.OverrideCodes.Get(ctx, registrationID, query) (*DeviceOverrideCodeGetResponse, error)
GET/accounts/{account_id}/devices/registrations/{registration_id}/override_codes
Zero TrustIdentity Providers
List Access identity providers
client.ZeroTrust.IdentityProviders.List(ctx, params) (*V4PagePaginationArray[IdentityProviderListResponse], error)
GET/{accounts_or_zones}/{account_or_zone_id}/access/identity_providers
Get an Access identity provider
client.ZeroTrust.IdentityProviders.Get(ctx, identityProviderID, query) (*IdentityProvider, error)
GET/{accounts_or_zones}/{account_or_zone_id}/access/identity_providers/{identity_provider_id}
Add an Access identity provider
client.ZeroTrust.IdentityProviders.New(ctx, params) (*IdentityProvider, error)
POST/{accounts_or_zones}/{account_or_zone_id}/access/identity_providers
Update an Access identity provider
client.ZeroTrust.IdentityProviders.Update(ctx, identityProviderID, params) (*IdentityProvider, error)
PUT/{accounts_or_zones}/{account_or_zone_id}/access/identity_providers/{identity_provider_id}
Delete an Access identity provider
client.ZeroTrust.IdentityProviders.Delete(ctx, identityProviderID, body) (*IdentityProviderDeleteResponse, error)
DELETE/{accounts_or_zones}/{account_or_zone_id}/access/identity_providers/{identity_provider_id}
Zero TrustIdentity ProvidersSCIM
Zero TrustIdentity ProvidersSCIMGroups
List SCIM Group resources
client.ZeroTrust.IdentityProviders.SCIM.Groups.List(ctx, identityProviderID, params) (*V4PagePaginationArray[ZeroTrustGroup], error)
GET/accounts/{account_id}/access/identity_providers/{identity_provider_id}/scim/groups
Zero TrustIdentity ProvidersSCIMUsers
List SCIM User resources
client.ZeroTrust.IdentityProviders.SCIM.Users.List(ctx, identityProviderID, params) (*V4PagePaginationArray[AccessUser], error)
GET/accounts/{account_id}/access/identity_providers/{identity_provider_id}/scim/users
Zero TrustOrganizations
Get your Zero Trust organization
client.ZeroTrust.Organizations.List(ctx, query) (*Organization, error)
GET/{accounts_or_zones}/{account_or_zone_id}/access/organizations
Create your Zero Trust organization
client.ZeroTrust.Organizations.New(ctx, params) (*Organization, error)
POST/{accounts_or_zones}/{account_or_zone_id}/access/organizations
Update your Zero Trust organization
client.ZeroTrust.Organizations.Update(ctx, params) (*Organization, error)
PUT/{accounts_or_zones}/{account_or_zone_id}/access/organizations
Revoke all Access tokens for a user
client.ZeroTrust.Organizations.RevokeUsers(ctx, params) (*OrganizationRevokeUsersResponse, error)
POST/{accounts_or_zones}/{account_or_zone_id}/access/organizations/revoke_user
Zero TrustOrganizationsDOH
Get your Zero Trust organization DoH settings
client.ZeroTrust.Organizations.DOH.Get(ctx, query) (*OrganizationDOHGetResponse, error)
GET/accounts/{account_id}/access/organizations/doh
Update your Zero Trust organization DoH settings
client.ZeroTrust.Organizations.DOH.Update(ctx, params) (*OrganizationDOHUpdateResponse, error)
PUT/accounts/{account_id}/access/organizations/doh
Zero TrustSeats
Update a user seat
client.ZeroTrust.Seats.Edit(ctx, params) (*SinglePage[Seat], error)
PATCH/accounts/{account_id}/access/seats
Zero TrustAccess
Zero TrustAccessAI Controls
Zero TrustAccessAI ControlsMcp
Zero TrustAccessAI ControlsMcpPortals
List MCP Portals
client.ZeroTrust.Access.AIControls.Mcp.Portals.List(ctx, params) (*V4PagePaginationArray[AccessAIControlMcpPortalListResponse], error)
GET/accounts/{account_id}/access/ai-controls/mcp/portals
Create a new MCP Portal
client.ZeroTrust.Access.AIControls.Mcp.Portals.New(ctx, params) (*AccessAIControlMcpPortalNewResponse, error)
POST/accounts/{account_id}/access/ai-controls/mcp/portals
Read details of an MCP Portal
client.ZeroTrust.Access.AIControls.Mcp.Portals.Read(ctx, id, query) (*AccessAIControlMcpPortalReadResponse, error)
GET/accounts/{account_id}/access/ai-controls/mcp/portals/{id}
Update a MCP Portal
client.ZeroTrust.Access.AIControls.Mcp.Portals.Update(ctx, id, params) (*AccessAIControlMcpPortalUpdateResponse, error)
PUT/accounts/{account_id}/access/ai-controls/mcp/portals/{id}
Delete a MCP Portal
client.ZeroTrust.Access.AIControls.Mcp.Portals.Delete(ctx, id, body) (*AccessAIControlMcpPortalDeleteResponse, error)
DELETE/accounts/{account_id}/access/ai-controls/mcp/portals/{id}
Zero TrustAccessAI ControlsMcpServers
List MCP Servers
client.ZeroTrust.Access.AIControls.Mcp.Servers.List(ctx, params) (*V4PagePaginationArray[AccessAIControlMcpServerListResponse], error)
GET/accounts/{account_id}/access/ai-controls/mcp/servers
Create a new MCP Server
client.ZeroTrust.Access.AIControls.Mcp.Servers.New(ctx, params) (*AccessAIControlMcpServerNewResponse, error)
POST/accounts/{account_id}/access/ai-controls/mcp/servers
Read the details of a MCP Server
client.ZeroTrust.Access.AIControls.Mcp.Servers.Read(ctx, id, query) (*AccessAIControlMcpServerReadResponse, error)
GET/accounts/{account_id}/access/ai-controls/mcp/servers/{id}
Update a MCP Server
client.ZeroTrust.Access.AIControls.Mcp.Servers.Update(ctx, id, params) (*AccessAIControlMcpServerUpdateResponse, error)
PUT/accounts/{account_id}/access/ai-controls/mcp/servers/{id}
Delete a MCP Server
client.ZeroTrust.Access.AIControls.Mcp.Servers.Delete(ctx, id, body) (*AccessAIControlMcpServerDeleteResponse, error)
DELETE/accounts/{account_id}/access/ai-controls/mcp/servers/{id}
Sync MCP Server Capabilities
client.ZeroTrust.Access.AIControls.Mcp.Servers.Sync(ctx, id, body) (*AccessAIControlMcpServerSyncResponse, error)
POST/accounts/{account_id}/access/ai-controls/mcp/servers/{id}/sync
Zero TrustAccessGateway CA
List SSH Certificate Authorities (CA)
client.ZeroTrust.Access.GatewayCA.List(ctx, query) (*SinglePage[AccessGatewayCAListResponse], error)
GET/accounts/{account_id}/access/gateway_ca
Add a new SSH Certificate Authority (CA)
client.ZeroTrust.Access.GatewayCA.New(ctx, body) (*AccessGatewayCANewResponse, error)
POST/accounts/{account_id}/access/gateway_ca
Delete an SSH Certificate Authority (CA)
client.ZeroTrust.Access.GatewayCA.Delete(ctx, certificateID, body) (*AccessGatewayCADeleteResponse, error)
DELETE/accounts/{account_id}/access/gateway_ca/{certificate_id}
Zero TrustAccessInfrastructure
Zero TrustAccessInfrastructureTargets
List all targets
client.ZeroTrust.Access.Infrastructure.Targets.List(ctx, params) (*V4PagePaginationArray[AccessInfrastructureTargetListResponse], error)
GET/accounts/{account_id}/infrastructure/targets
Get target
client.ZeroTrust.Access.Infrastructure.Targets.Get(ctx, targetID, query) (*AccessInfrastructureTargetGetResponse, error)
GET/accounts/{account_id}/infrastructure/targets/{target_id}
Create new target
client.ZeroTrust.Access.Infrastructure.Targets.New(ctx, params) (*AccessInfrastructureTargetNewResponse, error)
POST/accounts/{account_id}/infrastructure/targets
Update target
client.ZeroTrust.Access.Infrastructure.Targets.Update(ctx, targetID, params) (*AccessInfrastructureTargetUpdateResponse, error)
PUT/accounts/{account_id}/infrastructure/targets/{target_id}
Delete target
client.ZeroTrust.Access.Infrastructure.Targets.Delete(ctx, targetID, body) error
DELETE/accounts/{account_id}/infrastructure/targets/{target_id}
Create new targets
client.ZeroTrust.Access.Infrastructure.Targets.BulkUpdate(ctx, params) (*SinglePage[AccessInfrastructureTargetBulkUpdateResponse], error)
PUT/accounts/{account_id}/infrastructure/targets/batch
Delete targets (Deprecated)
Deprecated
client.ZeroTrust.Access.Infrastructure.Targets.BulkDelete(ctx, body) error
DELETE/accounts/{account_id}/infrastructure/targets/batch
Delete targets
client.ZeroTrust.Access.Infrastructure.Targets.BulkDeleteV2(ctx, params) error
POST/accounts/{account_id}/infrastructure/targets/batch_delete
Zero TrustAccessApplications
List Access applications
client.ZeroTrust.Access.Applications.List(ctx, params) (*V4PagePaginationArray[AccessApplicationListResponse], error)
GET/{accounts_or_zones}/{account_or_zone_id}/access/apps
Get an Access application
client.ZeroTrust.Access.Applications.Get(ctx, appID, query) (*AccessApplicationGetResponse, error)
GET/{accounts_or_zones}/{account_or_zone_id}/access/apps/{app_id}
Add an Access application
client.ZeroTrust.Access.Applications.New(ctx, params) (*AccessApplicationNewResponse, error)
POST/{accounts_or_zones}/{account_or_zone_id}/access/apps
Update an Access application
client.ZeroTrust.Access.Applications.Update(ctx, appID, params) (*AccessApplicationUpdateResponse, error)
PUT/{accounts_or_zones}/{account_or_zone_id}/access/apps/{app_id}
Delete an Access application
client.ZeroTrust.Access.Applications.Delete(ctx, appID, body) (*AccessApplicationDeleteResponse, error)
DELETE/{accounts_or_zones}/{account_or_zone_id}/access/apps/{app_id}
Revoke application tokens
client.ZeroTrust.Access.Applications.RevokeTokens(ctx, appID, body) (*AccessApplicationRevokeTokensResponse, error)
POST/{accounts_or_zones}/{account_or_zone_id}/access/apps/{app_id}/revoke_tokens
Zero TrustAccessApplicationsCAs
List short-lived certificate CAs
client.ZeroTrust.Access.Applications.CAs.List(ctx, params) (*V4PagePaginationArray[CA], error)
GET/{accounts_or_zones}/{account_or_zone_id}/access/apps/ca
Get a short-lived certificate CA
client.ZeroTrust.Access.Applications.CAs.Get(ctx, appID, query) (*CA, error)
GET/{accounts_or_zones}/{account_or_zone_id}/access/apps/{app_id}/ca
Create a short-lived certificate CA
client.ZeroTrust.Access.Applications.CAs.New(ctx, appID, body) (*CA, error)
POST/{accounts_or_zones}/{account_or_zone_id}/access/apps/{app_id}/ca
Delete a short-lived certificate CA
client.ZeroTrust.Access.Applications.CAs.Delete(ctx, appID, body) (*AccessApplicationCADeleteResponse, error)
DELETE/{accounts_or_zones}/{account_or_zone_id}/access/apps/{app_id}/ca
Zero TrustAccessApplicationsUser Policy Checks
Test Access policies
client.ZeroTrust.Access.Applications.UserPolicyChecks.List(ctx, appID, query) (*AccessApplicationUserPolicyCheckListResponse, error)
GET/{accounts_or_zones}/{account_or_zone_id}/access/apps/{app_id}/user_policy_checks
Zero TrustAccessApplicationsPolicies
List Access application policies
client.ZeroTrust.Access.Applications.Policies.List(ctx, appID, params) (*V4PagePaginationArray[AccessApplicationPolicyListResponse], error)
GET/{accounts_or_zones}/{account_or_zone_id}/access/apps/{app_id}/policies
Get an Access application policy
client.ZeroTrust.Access.Applications.Policies.Get(ctx, appID, policyID, query) (*AccessApplicationPolicyGetResponse, error)
GET/{accounts_or_zones}/{account_or_zone_id}/access/apps/{app_id}/policies/{policy_id}
Create an Access application policy
client.ZeroTrust.Access.Applications.Policies.New(ctx, appID, params) (*AccessApplicationPolicyNewResponse, error)
POST/{accounts_or_zones}/{account_or_zone_id}/access/apps/{app_id}/policies
Update an Access application policy
client.ZeroTrust.Access.Applications.Policies.Update(ctx, appID, policyID, params) (*AccessApplicationPolicyUpdateResponse, error)
PUT/{accounts_or_zones}/{account_or_zone_id}/access/apps/{app_id}/policies/{policy_id}
Delete an Access application policy
client.ZeroTrust.Access.Applications.Policies.Delete(ctx, appID, policyID, body) (*AccessApplicationPolicyDeleteResponse, error)
DELETE/{accounts_or_zones}/{account_or_zone_id}/access/apps/{app_id}/policies/{policy_id}
Zero TrustAccessApplicationsPolicy Tests
Get the current status of a given Access policy test
client.ZeroTrust.Access.Applications.PolicyTests.Get(ctx, policyTestID, query) (*AccessApplicationPolicyTestGetResponse, error)
GET/accounts/{account_id}/access/policy-tests/{policy_test_id}
Start Access policy test
client.ZeroTrust.Access.Applications.PolicyTests.New(ctx, params) (*AccessApplicationPolicyTestNewResponse, error)
POST/accounts/{account_id}/access/policy-tests
Zero TrustAccessApplicationsPolicy TestsUsers
Get an Access policy test users page
client.ZeroTrust.Access.Applications.PolicyTests.Users.List(ctx, policyTestID, params) (*V4PagePaginationArray[AccessApplicationPolicyTestUserListResponse], error)
GET/accounts/{account_id}/access/policy-tests/{policy_test_id}/users
Zero TrustAccessApplicationsSettings
Update Access application settings
client.ZeroTrust.Access.Applications.Settings.Update(ctx, appID, params) (*AccessApplicationSettingUpdateResponse, error)
PUT/{accounts_or_zones}/{account_or_zone_id}/access/apps/{app_id}/settings
Update Access application settings
client.ZeroTrust.Access.Applications.Settings.Edit(ctx, appID, params) (*AccessApplicationSettingEditResponse, error)
PATCH/{accounts_or_zones}/{account_or_zone_id}/access/apps/{app_id}/settings
Zero TrustAccessCertificates
List mTLS certificates
client.ZeroTrust.Access.Certificates.List(ctx, params) (*V4PagePaginationArray[Certificate], error)
GET/{accounts_or_zones}/{account_or_zone_id}/access/certificates
Get an mTLS certificate
client.ZeroTrust.Access.Certificates.Get(ctx, certificateID, query) (*Certificate, error)
GET/{accounts_or_zones}/{account_or_zone_id}/access/certificates/{certificate_id}
Add an mTLS certificate
client.ZeroTrust.Access.Certificates.New(ctx, params) (*Certificate, error)
POST/{accounts_or_zones}/{account_or_zone_id}/access/certificates
Update an mTLS certificate
client.ZeroTrust.Access.Certificates.Update(ctx, certificateID, params) (*Certificate, error)
PUT/{accounts_or_zones}/{account_or_zone_id}/access/certificates/{certificate_id}
Delete an mTLS certificate
client.ZeroTrust.Access.Certificates.Delete(ctx, certificateID, body) (*AccessCertificateDeleteResponse, error)
DELETE/{accounts_or_zones}/{account_or_zone_id}/access/certificates/{certificate_id}
Zero TrustAccessCertificatesSettings
List all mTLS hostname settings
client.ZeroTrust.Access.Certificates.Settings.Get(ctx, query) (*SinglePage[CertificateSettings], error)
GET/{accounts_or_zones}/{account_or_zone_id}/access/certificates/settings
Update an mTLS certificate's hostname settings
client.ZeroTrust.Access.Certificates.Settings.Update(ctx, params) (*SinglePage[CertificateSettings], error)
PUT/{accounts_or_zones}/{account_or_zone_id}/access/certificates/settings
Zero TrustAccessGroups
List Access groups
client.ZeroTrust.Access.Groups.List(ctx, params) (*V4PagePaginationArray[AccessGroupListResponse], error)
GET/{accounts_or_zones}/{account_or_zone_id}/access/groups
Get an Access group
client.ZeroTrust.Access.Groups.Get(ctx, groupID, query) (*AccessGroupGetResponse, error)
GET/{accounts_or_zones}/{account_or_zone_id}/access/groups/{group_id}
Create an Access group
client.ZeroTrust.Access.Groups.New(ctx, params) (*AccessGroupNewResponse, error)
POST/{accounts_or_zones}/{account_or_zone_id}/access/groups
Update an Access group
client.ZeroTrust.Access.Groups.Update(ctx, groupID, params) (*AccessGroupUpdateResponse, error)
PUT/{accounts_or_zones}/{account_or_zone_id}/access/groups/{group_id}
Delete an Access group
client.ZeroTrust.Access.Groups.Delete(ctx, groupID, body) (*AccessGroupDeleteResponse, error)
DELETE/{accounts_or_zones}/{account_or_zone_id}/access/groups/{group_id}
Zero TrustAccessService Tokens
List service tokens
client.ZeroTrust.Access.ServiceTokens.List(ctx, params) (*V4PagePaginationArray[ServiceToken], error)
GET/{accounts_or_zones}/{account_or_zone_id}/access/service_tokens
Get a service token
client.ZeroTrust.Access.ServiceTokens.Get(ctx, serviceTokenID, query) (*ServiceToken, error)
GET/{accounts_or_zones}/{account_or_zone_id}/access/service_tokens/{service_token_id}
Create a service token
client.ZeroTrust.Access.ServiceTokens.New(ctx, params) (*AccessServiceTokenNewResponse, error)
POST/{accounts_or_zones}/{account_or_zone_id}/access/service_tokens
Update a service token
client.ZeroTrust.Access.ServiceTokens.Update(ctx, serviceTokenID, params) (*ServiceToken, error)
PUT/{accounts_or_zones}/{account_or_zone_id}/access/service_tokens/{service_token_id}
Delete a service token
client.ZeroTrust.Access.ServiceTokens.Delete(ctx, serviceTokenID, body) (*ServiceToken, error)
DELETE/{accounts_or_zones}/{account_or_zone_id}/access/service_tokens/{service_token_id}
Refresh a service token
client.ZeroTrust.Access.ServiceTokens.Refresh(ctx, serviceTokenID, body) (*ServiceToken, error)
POST/accounts/{account_id}/access/service_tokens/{service_token_id}/refresh
Rotate a service token
client.ZeroTrust.Access.ServiceTokens.Rotate(ctx, serviceTokenID, params) (*AccessServiceTokenRotateResponse, error)
POST/accounts/{account_id}/access/service_tokens/{service_token_id}/rotate
Zero TrustAccessBookmarks
List Bookmark applications
Deprecated
client.ZeroTrust.Access.Bookmarks.List(ctx, query) (*SinglePage[Bookmark], error)
GET/accounts/{account_id}/access/bookmarks
Get a Bookmark application
Deprecated
client.ZeroTrust.Access.Bookmarks.Get(ctx, bookmarkID, query) (*Bookmark, error)
GET/accounts/{account_id}/access/bookmarks/{bookmark_id}
Create a Bookmark application
Deprecated
client.ZeroTrust.Access.Bookmarks.New(ctx, bookmarkID, params) (*Bookmark, error)
POST/accounts/{account_id}/access/bookmarks/{bookmark_id}
Update a Bookmark application
Deprecated
client.ZeroTrust.Access.Bookmarks.Update(ctx, bookmarkID, params) (*Bookmark, error)
PUT/accounts/{account_id}/access/bookmarks/{bookmark_id}
Delete a Bookmark application
Deprecated
client.ZeroTrust.Access.Bookmarks.Delete(ctx, bookmarkID, body) (*AccessBookmarkDeleteResponse, error)
DELETE/accounts/{account_id}/access/bookmarks/{bookmark_id}
Zero TrustAccessKeys
Get the Access key configuration
client.ZeroTrust.Access.Keys.Get(ctx, query) (*AccessKeyGetResponse, error)
GET/accounts/{account_id}/access/keys
Update the Access key configuration
client.ZeroTrust.Access.Keys.Update(ctx, params) (*AccessKeyUpdateResponse, error)
PUT/accounts/{account_id}/access/keys
Rotate Access keys
client.ZeroTrust.Access.Keys.Rotate(ctx, body) (*AccessKeyRotateResponse, error)
POST/accounts/{account_id}/access/keys/rotate
Zero TrustAccessLogs
Zero TrustAccessLogsAccess Requests
Get Access authentication logs
client.ZeroTrust.Access.Logs.AccessRequests.List(ctx, params) (*[]AccessRequest, error)
GET/accounts/{account_id}/access/logs/access_requests
Zero TrustAccessLogsSCIMUpdates
List Access SCIM update logs
client.ZeroTrust.Access.Logs.SCIM.Updates.List(ctx, params) (*V4PagePaginationArray[AccessLogSCIMUpdateListResponse], error)
GET/accounts/{account_id}/access/logs/scim/updates
Zero TrustAccessUsers
Get users
client.ZeroTrust.Access.Users.List(ctx, params) (*V4PagePaginationArray[AccessUserListResponse], error)
GET/accounts/{account_id}/access/users
Get a user
client.ZeroTrust.Access.Users.Get(ctx, userID, query) (*AccessUserGetResponse, error)
GET/accounts/{account_id}/access/users/{user_id}
Create a user
client.ZeroTrust.Access.Users.New(ctx, params) (*AccessUserNewResponse, error)
POST/accounts/{account_id}/access/users
Update a user
client.ZeroTrust.Access.Users.Update(ctx, userID, params) (*AccessUserUpdateResponse, error)
PUT/accounts/{account_id}/access/users/{user_id}
Delete a user
client.ZeroTrust.Access.Users.Delete(ctx, userID, body) (*AccessUserDeleteResponse, error)
DELETE/accounts/{account_id}/access/users/{user_id}
Zero TrustAccessUsersActive Sessions
Get active sessions
client.ZeroTrust.Access.Users.ActiveSessions.List(ctx, userID, query) (*SinglePage[AccessUserActiveSessionListResponse], error)
GET/accounts/{account_id}/access/users/{user_id}/active_sessions
Get single active session
client.ZeroTrust.Access.Users.ActiveSessions.Get(ctx, userID, nonce, query) (*AccessUserActiveSessionGetResponse, error)
GET/accounts/{account_id}/access/users/{user_id}/active_sessions/{nonce}
Zero TrustAccessUsersLast Seen Identity
Get last seen identity
client.ZeroTrust.Access.Users.LastSeenIdentity.Get(ctx, userID, query) (*Identity, error)
GET/accounts/{account_id}/access/users/{user_id}/last_seen_identity
Zero TrustAccessUsersFailed Logins
Get failed logins
client.ZeroTrust.Access.Users.FailedLogins.List(ctx, userID, query) (*SinglePage[AccessUserFailedLoginListResponse], error)
GET/accounts/{account_id}/access/users/{user_id}/failed_logins
Zero TrustAccessCustom Pages
List custom pages
client.ZeroTrust.Access.CustomPages.List(ctx, params) (*V4PagePaginationArray[CustomPageWithoutHTML], error)
GET/accounts/{account_id}/access/custom_pages
Get a custom page
client.ZeroTrust.Access.CustomPages.Get(ctx, customPageID, query) (*CustomPage, error)
GET/accounts/{account_id}/access/custom_pages/{custom_page_id}
Create a custom page
client.ZeroTrust.Access.CustomPages.New(ctx, params) (*CustomPageWithoutHTML, error)
POST/accounts/{account_id}/access/custom_pages
Update a custom page
client.ZeroTrust.Access.CustomPages.Update(ctx, customPageID, params) (*CustomPageWithoutHTML, error)
PUT/accounts/{account_id}/access/custom_pages/{custom_page_id}
Delete a custom page
client.ZeroTrust.Access.CustomPages.Delete(ctx, customPageID, body) (*AccessCustomPageDeleteResponse, error)
DELETE/accounts/{account_id}/access/custom_pages/{custom_page_id}
Zero TrustAccessTags
Create a tag
client.ZeroTrust.Access.Tags.New(ctx, params) (*Tag, error)
POST/accounts/{account_id}/access/tags
Update a tag
client.ZeroTrust.Access.Tags.Update(ctx, tagName, params) (*Tag, error)
PUT/accounts/{account_id}/access/tags/{tag_name}
Delete a tag
client.ZeroTrust.Access.Tags.Delete(ctx, tagName, body) (*AccessTagDeleteResponse, error)
DELETE/accounts/{account_id}/access/tags/{tag_name}
Zero TrustAccessPolicies
List Access reusable policies
client.ZeroTrust.Access.Policies.List(ctx, params) (*V4PagePaginationArray[AccessPolicyListResponse], error)
GET/accounts/{account_id}/access/policies
Get an Access reusable policy
client.ZeroTrust.Access.Policies.Get(ctx, policyID, query) (*AccessPolicyGetResponse, error)
GET/accounts/{account_id}/access/policies/{policy_id}
Create an Access reusable policy
client.ZeroTrust.Access.Policies.New(ctx, params) (*AccessPolicyNewResponse, error)
POST/accounts/{account_id}/access/policies
Update an Access reusable policy
client.ZeroTrust.Access.Policies.Update(ctx, policyID, params) (*AccessPolicyUpdateResponse, error)
PUT/accounts/{account_id}/access/policies/{policy_id}
Delete an Access reusable policy
client.ZeroTrust.Access.Policies.Delete(ctx, policyID, body) (*AccessPolicyDeleteResponse, error)
DELETE/accounts/{account_id}/access/policies/{policy_id}
Zero TrustDEXWARP Change Events
List WARP change events.
client.ZeroTrust.DEX.WARPChangeEvents.Get(ctx, params) (*[]DexwarpChangeEventGetResponse, error)
GET/accounts/{account_id}/dex/warp-change-events
Zero TrustDEXCommands
List account commands
client.ZeroTrust.DEX.Commands.List(ctx, params) (*V4PagePagination[DEXCommandListResponse], error)
GET/accounts/{account_id}/dex/commands
Create account commands
client.ZeroTrust.DEX.Commands.New(ctx, params) (*DEXCommandNewResponse, error)
POST/accounts/{account_id}/dex/commands
Zero TrustDEXCommandsDevices
List devices eligible for remote captures
client.ZeroTrust.DEX.Commands.Devices.List(ctx, params) (*V4PagePagination[DEXCommandDeviceListResponse], error)
GET/accounts/{account_id}/dex/commands/devices
Zero TrustDEXCommandsDownloads
Download command output file
client.ZeroTrust.DEX.Commands.Downloads.Get(ctx, commandID, filename, query) (*Response, error)
GET/accounts/{account_id}/dex/commands/{command_id}/downloads/{filename}
Zero TrustDEXCommandsQuota
Returns account commands usage, quota, and reset time
client.ZeroTrust.DEX.Commands.Quota.Get(ctx, query) (*DEXCommandQuotaGetResponse, error)
GET/accounts/{account_id}/dex/commands/quota
Zero TrustDEXColos
List Cloudflare colos
client.ZeroTrust.DEX.Colos.List(ctx, params) (*SinglePage[DEXColoListResponse], error)
GET/accounts/{account_id}/dex/colos
Zero TrustDEXFleet Status
List fleet status details by dimension
client.ZeroTrust.DEX.FleetStatus.Live(ctx, params) (*DEXFleetStatusLiveResponse, error)
GET/accounts/{account_id}/dex/fleet-status/live
List fleet status aggregate details by dimension
client.ZeroTrust.DEX.FleetStatus.OverTime(ctx, params) (*DEXFleetStatusOverTimeResponse, error)
GET/accounts/{account_id}/dex/fleet-status/over-time
Zero TrustDEXFleet StatusDevices
List fleet status devices
client.ZeroTrust.DEX.FleetStatus.Devices.List(ctx, params) (*V4PagePaginationArray[DEXFleetStatusDeviceListResponse], error)
GET/accounts/{account_id}/dex/fleet-status/devices
Zero TrustDEXHTTP Tests
Get details and aggregate metrics for an http test
client.ZeroTrust.DEX.HTTPTests.Get(ctx, testID, params) (*HTTPDetails, error)
GET/accounts/{account_id}/dex/http-tests/{test_id}
Zero TrustDEXHTTP TestsPercentiles
Get percentiles for an http test
client.ZeroTrust.DEX.HTTPTests.Percentiles.Get(ctx, testID, params) (*HTTPDetailsPercentiles, error)
GET/accounts/{account_id}/dex/http-tests/{test_id}/percentiles
Zero TrustDEXTests
List DEX test analytics
client.ZeroTrust.DEX.Tests.List(ctx, params) (*V4PagePagination[Tests], error)
GET/accounts/{account_id}/dex/tests/overview
Zero TrustDEXTestsUnique Devices
Get count of devices targeted
client.ZeroTrust.DEX.Tests.UniqueDevices.List(ctx, params) (*UniqueDevices, error)
GET/accounts/{account_id}/dex/tests/unique-devices
Zero TrustDEXTraceroute Test Results
Zero TrustDEXTraceroute Test ResultsNetwork Path
Get details for a specific traceroute test run
client.ZeroTrust.DEX.TracerouteTestResults.NetworkPath.Get(ctx, testResultID, query) (*DEXTracerouteTestResultNetworkPathGetResponse, error)
GET/accounts/{account_id}/dex/traceroute-test-results/{test_result_id}/network-path
Zero TrustDEXTraceroute Tests
Get details and aggregate metrics for a traceroute test
client.ZeroTrust.DEX.TracerouteTests.Get(ctx, testID, params) (*Traceroute, error)
GET/accounts/{account_id}/dex/traceroute-tests/{test_id}
Get percentiles for a traceroute test
client.ZeroTrust.DEX.TracerouteTests.Percentiles(ctx, testID, params) (*DEXTracerouteTestPercentilesResponse, error)
GET/accounts/{account_id}/dex/traceroute-tests/{test_id}/percentiles
Get network path breakdown for a traceroute test
client.ZeroTrust.DEX.TracerouteTests.NetworkPath(ctx, testID, params) (*NetworkPathResponse, error)
GET/accounts/{account_id}/dex/traceroute-tests/{test_id}/network-path
Zero TrustDEXRules
Get DEX Rule
client.ZeroTrust.DEX.Rules.Get(ctx, ruleID, query) (*DEXRuleGetResponse, error)
GET/accounts/{account_id}/dex/rules/{rule_id}
Delete a DEX Rule
client.ZeroTrust.DEX.Rules.Delete(ctx, ruleID, body) (*bool, error)
DELETE/accounts/{account_id}/dex/rules/{rule_id}
Update a DEX Rule
client.ZeroTrust.DEX.Rules.Update(ctx, ruleID, params) (*DEXRuleUpdateResponse, error)
PATCH/accounts/{account_id}/dex/rules/{rule_id}
Create a DEX Rule
client.ZeroTrust.DEX.Rules.New(ctx, params) (*DEXRuleNewResponse, error)
POST/accounts/{account_id}/dex/rules
List DEX Rules
client.ZeroTrust.DEX.Rules.List(ctx, params) (*V4PagePagination[DEXRuleListResponse], error)
GET/accounts/{account_id}/dex/rules
Zero TrustTunnels
List All Tunnels
client.ZeroTrust.Tunnels.List(ctx, params) (*V4PagePaginationArray[TunnelListResponse], error)
GET/accounts/{account_id}/tunnels
Zero TrustTunnelsCloudflared
List Cloudflare Tunnels
client.ZeroTrust.Tunnels.Cloudflared.List(ctx, params) (*V4PagePaginationArray[CloudflareTunnel], error)
GET/accounts/{account_id}/cfd_tunnel
Get a Cloudflare Tunnel
client.ZeroTrust.Tunnels.Cloudflared.Get(ctx, tunnelID, query) (*CloudflareTunnel, error)
GET/accounts/{account_id}/cfd_tunnel/{tunnel_id}
Create a Cloudflare Tunnel
client.ZeroTrust.Tunnels.Cloudflared.New(ctx, params) (*CloudflareTunnel, error)
POST/accounts/{account_id}/cfd_tunnel
Update a Cloudflare Tunnel
client.ZeroTrust.Tunnels.Cloudflared.Edit(ctx, tunnelID, params) (*CloudflareTunnel, error)
PATCH/accounts/{account_id}/cfd_tunnel/{tunnel_id}
Delete a Cloudflare Tunnel
client.ZeroTrust.Tunnels.Cloudflared.Delete(ctx, tunnelID, body) (*CloudflareTunnel, error)
DELETE/accounts/{account_id}/cfd_tunnel/{tunnel_id}
Zero TrustTunnelsCloudflaredConfigurations
Get configuration
client.ZeroTrust.Tunnels.Cloudflared.Configurations.Get(ctx, tunnelID, query) (*TunnelCloudflaredConfigurationGetResponse, error)
GET/accounts/{account_id}/cfd_tunnel/{tunnel_id}/configurations
Put configuration
client.ZeroTrust.Tunnels.Cloudflared.Configurations.Update(ctx, tunnelID, params) (*TunnelCloudflaredConfigurationUpdateResponse, error)
PUT/accounts/{account_id}/cfd_tunnel/{tunnel_id}/configurations
Zero TrustTunnelsCloudflaredConnections
List Cloudflare Tunnel connections
client.ZeroTrust.Tunnels.Cloudflared.Connections.Get(ctx, tunnelID, query) (*SinglePage[Client], error)
GET/accounts/{account_id}/cfd_tunnel/{tunnel_id}/connections
Clean up Cloudflare Tunnel connections
client.ZeroTrust.Tunnels.Cloudflared.Connections.Delete(ctx, tunnelID, params) (*TunnelCloudflaredConnectionDeleteResponse, error)
DELETE/accounts/{account_id}/cfd_tunnel/{tunnel_id}/connections
Zero TrustTunnelsCloudflaredToken
Get a Cloudflare Tunnel token
client.ZeroTrust.Tunnels.Cloudflared.Token.Get(ctx, tunnelID, query) (*string, error)
GET/accounts/{account_id}/cfd_tunnel/{tunnel_id}/token
Zero TrustTunnelsCloudflaredConnectors
Get Cloudflare Tunnel connector
client.ZeroTrust.Tunnels.Cloudflared.Connectors.Get(ctx, tunnelID, connectorID, query) (*Client, error)
GET/accounts/{account_id}/cfd_tunnel/{tunnel_id}/connectors/{connector_id}
Zero TrustTunnelsCloudflaredManagement
Get a Cloudflare Tunnel management token
client.ZeroTrust.Tunnels.Cloudflared.Management.New(ctx, tunnelID, params) (*string, error)
POST/accounts/{account_id}/cfd_tunnel/{tunnel_id}/management
Zero TrustTunnelsWARP Connector
List Warp Connector Tunnels
client.ZeroTrust.Tunnels.WARPConnector.List(ctx, params) (*V4PagePaginationArray[TunnelWARPConnectorListResponse], error)
GET/accounts/{account_id}/warp_connector
Get a Warp Connector Tunnel
client.ZeroTrust.Tunnels.WARPConnector.Get(ctx, tunnelID, query) (*TunnelWARPConnectorGetResponse, error)
GET/accounts/{account_id}/warp_connector/{tunnel_id}
Create a Warp Connector Tunnel
client.ZeroTrust.Tunnels.WARPConnector.New(ctx, params) (*TunnelWARPConnectorNewResponse, error)
POST/accounts/{account_id}/warp_connector
Update a Warp Connector Tunnel
client.ZeroTrust.Tunnels.WARPConnector.Edit(ctx, tunnelID, params) (*TunnelWARPConnectorEditResponse, error)
PATCH/accounts/{account_id}/warp_connector/{tunnel_id}
Delete a Warp Connector Tunnel
client.ZeroTrust.Tunnels.WARPConnector.Delete(ctx, tunnelID, body) (*TunnelWARPConnectorDeleteResponse, error)
DELETE/accounts/{account_id}/warp_connector/{tunnel_id}
Zero TrustTunnelsWARP ConnectorToken
Get a Warp Connector Tunnel token
client.ZeroTrust.Tunnels.WARPConnector.Token.Get(ctx, tunnelID, query) (*string, error)
GET/accounts/{account_id}/warp_connector/{tunnel_id}/token
Zero TrustTunnelsWARP ConnectorConnections
List WARP Connector Tunnel connections
client.ZeroTrust.Tunnels.WARPConnector.Connections.Get(ctx, tunnelID, query) (*SinglePage[TunnelWARPConnectorConnectionGetResponse], error)
GET/accounts/{account_id}/warp_connector/{tunnel_id}/connections
Zero TrustTunnelsWARP ConnectorConnectors
Get WARP Connector Tunnel connector
client.ZeroTrust.Tunnels.WARPConnector.Connectors.Get(ctx, tunnelID, connectorID, query) (*TunnelWARPConnectorConnectorGetResponse, error)
GET/accounts/{account_id}/warp_connector/{tunnel_id}/connectors/{connector_id}
Zero TrustTunnelsWARP ConnectorFailover
Trigger a manual failover for a WARP Connector Tunnel
client.ZeroTrust.Tunnels.WARPConnector.Failover.Update(ctx, tunnelID, params) (*TunnelWARPConnectorFailoverUpdateResponse, error)
PUT/accounts/{account_id}/warp_connector/{tunnel_id}/failover
Zero TrustConnectivity Settings
Get Zero Trust Connectivity Settings
client.ZeroTrust.ConnectivitySettings.Get(ctx, query) (*ConnectivitySettingGetResponse, error)
GET/accounts/{account_id}/zerotrust/connectivity_settings
Updates the Zero Trust Connectivity Settings
client.ZeroTrust.ConnectivitySettings.Edit(ctx, params) (*ConnectivitySettingEditResponse, error)
PATCH/accounts/{account_id}/zerotrust/connectivity_settings
Zero TrustDLP
Zero TrustDLPDatasets
Fetch all datasets
client.ZeroTrust.DLP.Datasets.List(ctx, query) (*SinglePage[Dataset], error)
GET/accounts/{account_id}/dlp/datasets
Fetch a specific dataset
client.ZeroTrust.DLP.Datasets.Get(ctx, datasetID, query) (*Dataset, error)
GET/accounts/{account_id}/dlp/datasets/{dataset_id}
Create a new dataset
client.ZeroTrust.DLP.Datasets.New(ctx, params) (*DatasetCreation, error)
POST/accounts/{account_id}/dlp/datasets
Update details about a dataset
client.ZeroTrust.DLP.Datasets.Update(ctx, datasetID, params) (*Dataset, error)
PUT/accounts/{account_id}/dlp/datasets/{dataset_id}
Delete a dataset
client.ZeroTrust.DLP.Datasets.Delete(ctx, datasetID, body) error
DELETE/accounts/{account_id}/dlp/datasets/{dataset_id}
Zero TrustDLPDatasetsUpload
Prepare to upload a new version of a dataset
client.ZeroTrust.DLP.Datasets.Upload.New(ctx, datasetID, body) (*NewVersion, error)
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/upload
Upload a new version of a dataset
client.ZeroTrust.DLP.Datasets.Upload.Edit(ctx, datasetID, version, dataset, params) (*Dataset, error)
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/upload/{version}
Zero TrustDLPDatasetsVersions
Sets the column information for a multi-column upload
client.ZeroTrust.DLP.Datasets.Versions.New(ctx, datasetID, version, params) (*SinglePage[DLPDatasetVersionNewResponse], error)
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/versions/{version}
Zero TrustDLPDatasetsVersionsEntries
Upload a new version of a multi-column dataset
client.ZeroTrust.DLP.Datasets.Versions.Entries.New(ctx, datasetID, version, entryID, datasetVersionEntry, params) (*DLPDatasetVersionEntryNewResponse, error)
POST/accounts/{account_id}/dlp/datasets/{dataset_id}/versions/{version}/entries/{entry_id}
Zero TrustDLPPatterns
Validate a DLP regex pattern
client.ZeroTrust.DLP.Patterns.Validate(ctx, params) (*DLPPatternValidateResponse, error)
POST/accounts/{account_id}/dlp/patterns/validate
Zero TrustDLPPayload Logs
Get payload log settings
client.ZeroTrust.DLP.PayloadLogs.Get(ctx, query) (*DLPPayloadLogGetResponse, error)
GET/accounts/{account_id}/dlp/payload_log
Set payload log settings
client.ZeroTrust.DLP.PayloadLogs.Update(ctx, params) (*DLPPayloadLogUpdateResponse, error)
PUT/accounts/{account_id}/dlp/payload_log
Zero TrustDLPEmail
Zero TrustDLPEmailAccount Mapping
Get mapping
client.ZeroTrust.DLP.Email.AccountMapping.Get(ctx, query) (*DLPEmailAccountMappingGetResponse, error)
GET/accounts/{account_id}/dlp/email/account_mapping
Create mapping
client.ZeroTrust.DLP.Email.AccountMapping.New(ctx, params) (*DLPEmailAccountMappingNewResponse, error)
POST/accounts/{account_id}/dlp/email/account_mapping
Zero TrustDLPEmailRules
List all email scanner rules
client.ZeroTrust.DLP.Email.Rules.List(ctx, query) (*SinglePage[DLPEmailRuleListResponse], error)
GET/accounts/{account_id}/dlp/email/rules
Get an email scanner rule
client.ZeroTrust.DLP.Email.Rules.Get(ctx, ruleID, query) (*DLPEmailRuleGetResponse, error)
GET/accounts/{account_id}/dlp/email/rules/{rule_id}
Create email scanner rule
client.ZeroTrust.DLP.Email.Rules.New(ctx, params) (*DLPEmailRuleNewResponse, error)
POST/accounts/{account_id}/dlp/email/rules
Update email scanner rule
client.ZeroTrust.DLP.Email.Rules.Update(ctx, ruleID, params) (*DLPEmailRuleUpdateResponse, error)
PUT/accounts/{account_id}/dlp/email/rules/{rule_id}
Delete email scanner rule
client.ZeroTrust.DLP.Email.Rules.Delete(ctx, ruleID, body) (*DLPEmailRuleDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/email/rules/{rule_id}
Update email scanner rule priorities
client.ZeroTrust.DLP.Email.Rules.BulkEdit(ctx, params) (*DLPEmailRuleBulkEditResponse, error)
PATCH/accounts/{account_id}/dlp/email/rules
Zero TrustDLPProfiles
List all profiles
client.ZeroTrust.DLP.Profiles.List(ctx, params) (*SinglePage[Profile], error)
GET/accounts/{account_id}/dlp/profiles
Get DLP Profile
client.ZeroTrust.DLP.Profiles.Get(ctx, profileID, query) (*Profile, error)
GET/accounts/{account_id}/dlp/profiles/{profile_id}
Zero TrustDLPProfilesCustom
Get custom profile
client.ZeroTrust.DLP.Profiles.Custom.Get(ctx, profileID, query) (*Profile, error)
GET/accounts/{account_id}/dlp/profiles/custom/{profile_id}
Create custom profile
client.ZeroTrust.DLP.Profiles.Custom.New(ctx, params) (*Profile, error)
POST/accounts/{account_id}/dlp/profiles/custom
Update custom profile
client.ZeroTrust.DLP.Profiles.Custom.Update(ctx, profileID, params) (*Profile, error)
PUT/accounts/{account_id}/dlp/profiles/custom/{profile_id}
Delete custom profile
client.ZeroTrust.DLP.Profiles.Custom.Delete(ctx, profileID, body) (*DLPProfileCustomDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/profiles/custom/{profile_id}
Zero TrustDLPProfilesPredefined
Get predefined profile config
client.ZeroTrust.DLP.Profiles.Predefined.Get(ctx, profileID, query) (*PredefinedProfile, error)
GET/accounts/{account_id}/dlp/profiles/predefined/{profile_id}/config
Update predefined profile config
client.ZeroTrust.DLP.Profiles.Predefined.Update(ctx, profileID, params) (*PredefinedProfile, error)
PUT/accounts/{account_id}/dlp/profiles/predefined/{profile_id}/config
Delete predefined profile
client.ZeroTrust.DLP.Profiles.Predefined.Delete(ctx, profileID, body) (*DLPProfilePredefinedDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/profiles/predefined/{profile_id}
Zero TrustDLPLimits
Fetch limits associated with DLP for account
client.ZeroTrust.DLP.Limits.List(ctx, query) (*DLPLimitListResponse, error)
GET/accounts/{account_id}/dlp/limits
Zero TrustDLPEntries
List all entries
client.ZeroTrust.DLP.Entries.List(ctx, query) (*SinglePage[DLPEntryListResponse], error)
GET/accounts/{account_id}/dlp/entries
Get DLP Entry
client.ZeroTrust.DLP.Entries.Get(ctx, entryID, query) (*DLPEntryGetResponse, error)
GET/accounts/{account_id}/dlp/entries/{entry_id}
Create custom entry
client.ZeroTrust.DLP.Entries.New(ctx, params) (*DLPEntryNewResponse, error)
POST/accounts/{account_id}/dlp/entries
Update entry
client.ZeroTrust.DLP.Entries.Update(ctx, entryID, params) (*DLPEntryUpdateResponse, error)
PUT/accounts/{account_id}/dlp/entries/{entry_id}
Delete custom entry
client.ZeroTrust.DLP.Entries.Delete(ctx, entryID, body) (*DLPEntryDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/entries/{entry_id}
Zero TrustDLPEntriesCustom
Create custom entry
client.ZeroTrust.DLP.Entries.Custom.New(ctx, params) (*DLPEntryCustomNewResponse, error)
POST/accounts/{account_id}/dlp/entries
Update custom entry
client.ZeroTrust.DLP.Entries.Custom.Update(ctx, entryID, params) (*DLPEntryCustomUpdateResponse, error)
PUT/accounts/{account_id}/dlp/entries/custom/{entry_id}
Delete custom entry
client.ZeroTrust.DLP.Entries.Custom.Delete(ctx, entryID, body) (*DLPEntryCustomDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/entries/{entry_id}
Get DLP Entry
client.ZeroTrust.DLP.Entries.Custom.Get(ctx, entryID, query) (*DLPEntryCustomGetResponse, error)
GET/accounts/{account_id}/dlp/entries/{entry_id}
List all entries
client.ZeroTrust.DLP.Entries.Custom.List(ctx, query) (*SinglePage[DLPEntryCustomListResponse], error)
GET/accounts/{account_id}/dlp/entries
Zero TrustDLPEntriesPredefined
Create predefined entry
client.ZeroTrust.DLP.Entries.Predefined.New(ctx, params) (*DLPEntryPredefinedNewResponse, error)
POST/accounts/{account_id}/dlp/entries/predefined
Update predefined entry
client.ZeroTrust.DLP.Entries.Predefined.Update(ctx, entryID, params) (*DLPEntryPredefinedUpdateResponse, error)
PUT/accounts/{account_id}/dlp/entries/predefined/{entry_id}
Delete predefined entry
client.ZeroTrust.DLP.Entries.Predefined.Delete(ctx, entryID, body) (*DLPEntryPredefinedDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/entries/predefined/{entry_id}
Get DLP Entry
client.ZeroTrust.DLP.Entries.Predefined.Get(ctx, entryID, query) (*DLPEntryPredefinedGetResponse, error)
GET/accounts/{account_id}/dlp/entries/{entry_id}
List all entries
client.ZeroTrust.DLP.Entries.Predefined.List(ctx, query) (*SinglePage[DLPEntryPredefinedListResponse], error)
GET/accounts/{account_id}/dlp/entries
Zero TrustDLPEntriesIntegration
Create integration entry
client.ZeroTrust.DLP.Entries.Integration.New(ctx, params) (*DLPEntryIntegrationNewResponse, error)
POST/accounts/{account_id}/dlp/entries/integration
Update integration entry
client.ZeroTrust.DLP.Entries.Integration.Update(ctx, entryID, params) (*DLPEntryIntegrationUpdateResponse, error)
PUT/accounts/{account_id}/dlp/entries/integration/{entry_id}
Delete integration entry
client.ZeroTrust.DLP.Entries.Integration.Delete(ctx, entryID, body) (*DLPEntryIntegrationDeleteResponse, error)
DELETE/accounts/{account_id}/dlp/entries/integration/{entry_id}
Get DLP Entry
client.ZeroTrust.DLP.Entries.Integration.Get(ctx, entryID, query) (*DLPEntryIntegrationGetResponse, error)
GET/accounts/{account_id}/dlp/entries/{entry_id}
List all entries
client.ZeroTrust.DLP.Entries.Integration.List(ctx, query) (*SinglePage[DLPEntryIntegrationListResponse], error)
GET/accounts/{account_id}/dlp/entries
Zero TrustGateway
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
Zero TrustGatewayAudit 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
Zero TrustGatewayCategories
List categories
client.ZeroTrust.Gateway.Categories.List(ctx, query) (*SinglePage[Category], error)
GET/accounts/{account_id}/gateway/categories
Zero TrustGatewayApp Types
List application and application type mappings
client.ZeroTrust.Gateway.AppTypes.List(ctx, query) (*SinglePage[AppType], error)
GET/accounts/{account_id}/gateway/app_types
Zero TrustGatewayConfigurations
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
Zero TrustGatewayConfigurationsCustom 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
Zero TrustGatewayLists
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}
Zero TrustGatewayListsItems
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
Zero TrustGatewayLocations
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}
Zero TrustGatewayLogging
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
Zero TrustGatewayProxy 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}
Zero TrustGatewayRules
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
Zero TrustGatewayCertificates
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
Zero TrustGatewayPacfiles
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}
Zero TrustNetworks
Zero TrustNetworksRoutes
List tunnel routes
client.ZeroTrust.Networks.Routes.List(ctx, params) (*V4PagePaginationArray[Teamnet], error)
GET/accounts/{account_id}/teamnet/routes
Get tunnel route
client.ZeroTrust.Networks.Routes.Get(ctx, routeID, query) (*Route, error)
GET/accounts/{account_id}/teamnet/routes/{route_id}
Create a tunnel route
client.ZeroTrust.Networks.Routes.New(ctx, params) (*Route, error)
POST/accounts/{account_id}/teamnet/routes
Update a tunnel route
client.ZeroTrust.Networks.Routes.Edit(ctx, routeID, params) (*Route, error)
PATCH/accounts/{account_id}/teamnet/routes/{route_id}
Delete a tunnel route
client.ZeroTrust.Networks.Routes.Delete(ctx, routeID, body) (*Route, error)
DELETE/accounts/{account_id}/teamnet/routes/{route_id}
Zero TrustNetworksRoutesIPs
Get tunnel route by IP
client.ZeroTrust.Networks.Routes.IPs.Get(ctx, ip, params) (*Teamnet, error)
GET/accounts/{account_id}/teamnet/routes/ip/{ip}
Zero TrustNetworksRoutesNetworks
Create a tunnel route (CIDR Endpoint)
Deprecated
client.ZeroTrust.Networks.Routes.Networks.New(ctx, ipNetworkEncoded, params) (*Route, error)
POST/accounts/{account_id}/teamnet/routes/network/{ip_network_encoded}
Update a tunnel route (CIDR Endpoint)
Deprecated
client.ZeroTrust.Networks.Routes.Networks.Edit(ctx, ipNetworkEncoded, body) (*Route, error)
PATCH/accounts/{account_id}/teamnet/routes/network/{ip_network_encoded}
Delete a tunnel route (CIDR Endpoint)
Deprecated
client.ZeroTrust.Networks.Routes.Networks.Delete(ctx, ipNetworkEncoded, params) (*Route, error)
DELETE/accounts/{account_id}/teamnet/routes/network/{ip_network_encoded}
Zero TrustNetworksVirtual Networks
List virtual networks
client.ZeroTrust.Networks.VirtualNetworks.List(ctx, params) (*SinglePage[VirtualNetwork], error)
GET/accounts/{account_id}/teamnet/virtual_networks
Get a virtual network
client.ZeroTrust.Networks.VirtualNetworks.Get(ctx, virtualNetworkID, query) (*VirtualNetwork, error)
GET/accounts/{account_id}/teamnet/virtual_networks/{virtual_network_id}
Create a virtual network
client.ZeroTrust.Networks.VirtualNetworks.New(ctx, params) (*VirtualNetwork, error)
POST/accounts/{account_id}/teamnet/virtual_networks
Update a virtual network
client.ZeroTrust.Networks.VirtualNetworks.Edit(ctx, virtualNetworkID, params) (*VirtualNetwork, error)
PATCH/accounts/{account_id}/teamnet/virtual_networks/{virtual_network_id}
Delete a virtual network
client.ZeroTrust.Networks.VirtualNetworks.Delete(ctx, virtualNetworkID, body) (*VirtualNetwork, error)
DELETE/accounts/{account_id}/teamnet/virtual_networks/{virtual_network_id}
Zero TrustNetworksSubnets
List Subnets
client.ZeroTrust.Networks.Subnets.List(ctx, params) (*V4PagePaginationArray[Subnet], error)
GET/accounts/{account_id}/zerotrust/subnets
Zero TrustNetworksSubnetsWARP
Create WARP IP subnet
client.ZeroTrust.Networks.Subnets.WARP.New(ctx, params) (*Subnet, error)
POST/accounts/{account_id}/zerotrust/subnets/warp
Get WARP IP subnet
client.ZeroTrust.Networks.Subnets.WARP.Get(ctx, subnetID, query) (*Subnet, error)
GET/accounts/{account_id}/zerotrust/subnets/warp/{subnet_id}
Update WARP IP subnet
client.ZeroTrust.Networks.Subnets.WARP.Edit(ctx, subnetID, params) (*Subnet, error)
PATCH/accounts/{account_id}/zerotrust/subnets/warp/{subnet_id}
Delete WARP IP subnet
client.ZeroTrust.Networks.Subnets.WARP.Delete(ctx, subnetID, body) (*NetworkSubnetWARPDeleteResponse, error)
DELETE/accounts/{account_id}/zerotrust/subnets/warp/{subnet_id}
Zero TrustNetworksSubnetsCloudflare Source
Update Cloudflare Source Subnet
client.ZeroTrust.Networks.Subnets.CloudflareSource.Update(ctx, addressFamily, params) (*Subnet, error)
PATCH/accounts/{account_id}/zerotrust/subnets/cloudflare_source/{address_family}
Zero TrustNetworksHostname Routes
List hostname routes
client.ZeroTrust.Networks.HostnameRoutes.List(ctx, params) (*V4PagePaginationArray[HostnameRoute], error)
GET/accounts/{account_id}/zerotrust/routes/hostname
Get hostname route
client.ZeroTrust.Networks.HostnameRoutes.Get(ctx, hostnameRouteID, query) (*HostnameRoute, error)
GET/accounts/{account_id}/zerotrust/routes/hostname/{hostname_route_id}
Create hostname route
client.ZeroTrust.Networks.HostnameRoutes.New(ctx, params) (*HostnameRoute, error)
POST/accounts/{account_id}/zerotrust/routes/hostname
Update hostname route
client.ZeroTrust.Networks.HostnameRoutes.Edit(ctx, hostnameRouteID, params) (*HostnameRoute, error)
PATCH/accounts/{account_id}/zerotrust/routes/hostname/{hostname_route_id}
Delete hostname route
client.ZeroTrust.Networks.HostnameRoutes.Delete(ctx, hostnameRouteID, body) (*HostnameRoute, error)
DELETE/accounts/{account_id}/zerotrust/routes/hostname/{hostname_route_id}
Zero TrustRisk Scoring
Get risk event/score information for a specific user
client.ZeroTrust.RiskScoring.Get(ctx, userID, query) (*RiskScoringGetResponse, error)
GET/accounts/{account_id}/zt_risk_scoring/{user_id}
Clear the risk score for a particular user
client.ZeroTrust.RiskScoring.Reset(ctx, userID, body) (*RiskScoringResetResponse, error)
POST/accounts/{account_id}/zt_risk_scoring/{user_id}/reset
Zero TrustRisk ScoringBehaviours
Get all behaviors and associated configuration
client.ZeroTrust.RiskScoring.Behaviours.Get(ctx, query) (*RiskScoringBehaviourGetResponse, error)
GET/accounts/{account_id}/zt_risk_scoring/behaviors
Update configuration for risk behaviors
client.ZeroTrust.RiskScoring.Behaviours.Update(ctx, params) (*RiskScoringBehaviourUpdateResponse, error)
PUT/accounts/{account_id}/zt_risk_scoring/behaviors
Zero TrustRisk ScoringSummary
Get risk score info for all users in the account
client.ZeroTrust.RiskScoring.Summary.Get(ctx, query) (*RiskScoringSummaryGetResponse, error)
GET/accounts/{account_id}/zt_risk_scoring/summary
Zero TrustRisk ScoringIntegrations
List all risk score integrations for the account.
client.ZeroTrust.RiskScoring.Integrations.List(ctx, query) (*SinglePage[RiskScoringIntegrationListResponse], error)
GET/accounts/{account_id}/zt_risk_scoring/integrations
Get risk score integration by id.
client.ZeroTrust.RiskScoring.Integrations.Get(ctx, integrationID, query) (*RiskScoringIntegrationGetResponse, error)
GET/accounts/{account_id}/zt_risk_scoring/integrations/{integration_id}
Create new risk score integration.
client.ZeroTrust.RiskScoring.Integrations.New(ctx, params) (*RiskScoringIntegrationNewResponse, error)
POST/accounts/{account_id}/zt_risk_scoring/integrations
Update a risk score integration.
client.ZeroTrust.RiskScoring.Integrations.Update(ctx, integrationID, params) (*RiskScoringIntegrationUpdateResponse, error)
PUT/accounts/{account_id}/zt_risk_scoring/integrations/{integration_id}
Delete a risk score integration.
client.ZeroTrust.RiskScoring.Integrations.Delete(ctx, integrationID, body) (*RiskScoringIntegrationDeleteResponse, error)
DELETE/accounts/{account_id}/zt_risk_scoring/integrations/{integration_id}
Zero TrustRisk ScoringIntegrationsReferences
Get risk score integration by reference id.
client.ZeroTrust.RiskScoring.Integrations.References.Get(ctx, referenceID, query) (*RiskScoringIntegrationReferenceGetResponse, error)
GET/accounts/{account_id}/zt_risk_scoring/integrations/reference_id/{reference_id}