Skip to content
Start here

Proxy 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}
ModelsExpand Collapse
type GatewayIPs string

Specify an IPv4 or IPv6 CIDR. Limit IPv6 to a maximum of /109 and IPv4 to a maximum of /25.

type ProxyEndpoint interface{…}
One of the following:
type ProxyEndpointZeroTrustGatewayProxyEndpointIP struct{…}

Specify the list of CIDRs to restrict ingress connections.

Name string

Specify the name of the proxy endpoint.

ID stringOptional
CreatedAt TimeOptional
formatdate-time
Kind ProxyEndpointZeroTrustGatewayProxyEndpointIPKindOptional

The proxy endpoint kind

Subdomain stringOptional

Specify the subdomain to use as the destination in the proxy client.

UpdatedAt TimeOptional
formatdate-time
type ProxyEndpointZeroTrustGatewayProxyEndpointIdentity struct{…}
Kind ProxyEndpointZeroTrustGatewayProxyEndpointIdentityKind

The proxy endpoint kind

Name string

Specify the name of the proxy endpoint.

ID stringOptional
CreatedAt TimeOptional
formatdate-time
Subdomain stringOptional

Specify the subdomain to use as the destination in the proxy client.

UpdatedAt TimeOptional
formatdate-time