Skip to content
Start here

Networks

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}
ModelsExpand Collapse
type DeviceNetwork struct{…}
Config DeviceNetworkConfigoptional

The configuration object containing information for the WARP client to detect the managed network.

TLSSockaddr string

A network address of the form "host:port" that the WARP client will use to detect the presence of a TLS host.

Sha256 stringoptional

The SHA-256 hash of the TLS certificate presented by the host found at tls_sockaddr. If absent, regular certificate verification (trusted roots, valid timestamp, etc) will be used to validate the certificate.

Name stringoptional

The name of the device managed network. This name must be unique.

NetworkID stringoptional

API UUID.

maxLength36
Type DeviceNetworkTypeoptional

The type of device managed network.