Skip to content
Start here

Networks

List your device managed networks
client.zeroTrust.devices.networks.list(NetworkListParams { account_id } params, RequestOptionsoptions?): SinglePage<DeviceNetwork { config, name, network_id, type } >
GET/accounts/{account_id}/devices/networks
Get device managed network details
client.zeroTrust.devices.networks.get(stringnetworkId, NetworkGetParams { account_id } params, RequestOptionsoptions?): DeviceNetwork { config, name, network_id, type } | null
GET/accounts/{account_id}/devices/networks/{network_id}
Create a device managed network
client.zeroTrust.devices.networks.create(NetworkCreateParams { account_id, config, name, type } params, RequestOptionsoptions?): DeviceNetwork { config, name, network_id, type } | null
POST/accounts/{account_id}/devices/networks
Update a device managed network
client.zeroTrust.devices.networks.update(stringnetworkId, NetworkUpdateParams { account_id, config, name, type } params, RequestOptionsoptions?): DeviceNetwork { config, name, network_id, type } | null
PUT/accounts/{account_id}/devices/networks/{network_id}
Delete a device managed network
client.zeroTrust.devices.networks.delete(stringnetworkId, NetworkDeleteParams { account_id } params, RequestOptionsoptions?): SinglePage<DeviceNetwork { config, name, network_id, type } >
DELETE/accounts/{account_id}/devices/networks/{network_id}
ModelsExpand Collapse
DeviceNetwork { config, name, network_id, type }
config?: Config { tls_sockaddr, sha256 }

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

tls_sockaddr: string

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

sha256?: string

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?: string

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

network_id?: string

API UUID.

maxLength36
type?: "tls"

The type of device managed network.