API Reference·续25

Zero TrustNetworksRoutesIPs

Get tunnel route by IP

GET/accounts/{account_id}/teamnet/routes/ip/{ip}

Zero TrustNetworksRoutesNetworks

Create a tunnel route (CIDR Endpoint)

Deprecated

POST/accounts/{account_id}/teamnet/routes/network/{ip_network_encoded}

Update a tunnel route (CIDR Endpoint)

Deprecated

PATCH/accounts/{account_id}/teamnet/routes/network/{ip_network_encoded}

Delete a tunnel route (CIDR Endpoint)

Deprecated

DELETE/accounts/{account_id}/teamnet/routes/network/{ip_network_encoded}

Zero TrustNetworksVirtual Networks

List virtual networks

GET/accounts/{account_id}/teamnet/virtual_networks

Get a virtual network

GET/accounts/{account_id}/teamnet/virtual_networks/{virtual_network_id}

Create a virtual network

POST/accounts/{account_id}/teamnet/virtual_networks

Update a virtual network

PATCH/accounts/{account_id}/teamnet/virtual_networks/{virtual_network_id}

Delete a virtual network

DELETE/accounts/{account_id}/teamnet/virtual_networks/{virtual_network_id}

Zero TrustNetworksSubnets

List Subnets

GET/accounts/{account_id}/zerotrust/subnets

Zero TrustNetworksSubnetsWARP

Create WARP IP subnet

POST/accounts/{account_id}/zerotrust/subnets/warp

Get WARP IP subnet

GET/accounts/{account_id}/zerotrust/subnets/warp/{subnet_id}

Update WARP IP subnet

PATCH/accounts/{account_id}/zerotrust/subnets/warp/{subnet_id}

Delete WARP IP subnet

DELETE/accounts/{account_id}/zerotrust/subnets/warp/{subnet_id}

Zero TrustNetworksSubnetsCloudflare Source

Update Cloudflare Source Subnet

PATCH/accounts/{account_id}/zerotrust/subnets/cloudflare_source/{address_family}

Zero TrustNetworksSubnetsInitial Resolved IP

Get Initial Resolved IP Subnet

GET/accounts/{account_id}/zerotrust/subnets/initial_resolved_ip/{address_family}

Update Initial Resolved IP Subnet

PUT/accounts/{account_id}/zerotrust/subnets/initial_resolved_ip/{address_family}

Zero TrustNetworksHostname Routes

List hostname routes

GET/accounts/{account_id}/zerotrust/routes/hostname

Get hostname route

GET/accounts/{account_id}/zerotrust/routes/hostname/{hostname_route_id}

Create hostname route

POST/accounts/{account_id}/zerotrust/routes/hostname

Update hostname route

PATCH/accounts/{account_id}/zerotrust/routes/hostname/{hostname_route_id}

Delete hostname route

DELETE/accounts/{account_id}/zerotrust/routes/hostname/{hostname_route_id}

Zero TrustRisk Scoring

Get risk event/score information for a specific user

GET/accounts/{account_id}/zt_risk_scoring/{user_id}

Clear the risk score for a particular user

POST/accounts/{account_id}/zt_risk_scoring/{user_id}/reset

Zero TrustRisk ScoringBehaviours

Get all behaviors and associated configuration

GET/accounts/{account_id}/zt_risk_scoring/behaviors

Update configuration for risk behaviors

PUT/accounts/{account_id}/zt_risk_scoring/behaviors

Zero TrustRisk ScoringSummary

Get risk score info for all users in the account

GET/accounts/{account_id}/zt_risk_scoring/summary

Zero TrustRisk ScoringIntegrations

List all risk score integrations for the account.

GET/accounts/{account_id}/zt_risk_scoring/integrations

Get risk score integration by id.

GET/accounts/{account_id}/zt_risk_scoring/integrations/{integration_id}

Create new risk score integration.

POST/accounts/{account_id}/zt_risk_scoring/integrations

Update a risk score integration.

PUT/accounts/{account_id}/zt_risk_scoring/integrations/{integration_id}

Delete a risk score integration.

DELETE/accounts/{account_id}/zt_risk_scoring/integrations/{integration_id}

Zero TrustRisk ScoringIntegrationsReferences

Get risk score integration by reference id.

GET/accounts/{account_id}/zt_risk_scoring/integrations/reference_id/{reference_id}

Zero TrustResource Library

Zero TrustResource LibraryApplications

List applications

GET/accounts/{account_id}/resource-library/applications

Get application

GET/accounts/{account_id}/resource-library/applications/{id}

Create application

POST/accounts/{account_id}/resource-library/applications

Update application

PATCH/accounts/{account_id}/resource-library/applications/{id}

Delete application

DELETE/accounts/{account_id}/resource-library/applications/{id}

Zero TrustResource LibraryCategories

List application categories

GET/accounts/{account_id}/resource-library/categories

Get application category

GET/accounts/{account_id}/resource-library/categories/{id}

Turnstile

TurnstileWidgets

List Turnstile Widgets

GET/accounts/{account_id}/challenges/widgets

Turnstile Widget Details

GET/accounts/{account_id}/challenges/widgets/{sitekey}

Create a Turnstile Widget

POST/accounts/{account_id}/challenges/widgets

Update a Turnstile Widget

PUT/accounts/{account_id}/challenges/widgets/{sitekey}

Delete a Turnstile Widget

DELETE/accounts/{account_id}/challenges/widgets/{sitekey}

Rotate Secret for a Turnstile Widget

POST/accounts/{account_id}/challenges/widgets/{sitekey}/rotate_secret

Connectivity

ConnectivityDirectory

ConnectivityDirectoryServices

List Workers VPC connectivity services

GET/accounts/{account_id}/connectivity/directory/services

Create Workers VPC connectivity service

POST/accounts/{account_id}/connectivity/directory/services

Get Workers VPC connectivity service

GET/accounts/{account_id}/connectivity/directory/services/{service_id}

Update Workers VPC connectivity service

PUT/accounts/{account_id}/connectivity/directory/services/{service_id}

Delete Workers VPC connectivity service

DELETE/accounts/{account_id}/connectivity/directory/services/{service_id}

Hyperdrive

HyperdriveConfigs

List Hyperdrives

GET/accounts/{account_id}/hyperdrive/configs

Get Hyperdrive

GET/accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}

Create Hyperdrive

POST/accounts/{account_id}/hyperdrive/configs

Replace Hyperdrive

PUT/accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}

Update Hyperdrive

PATCH/accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}

Restart Hyperdrive

POST/accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}/restart

Delete Hyperdrive

DELETE/accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}

RUM

RUMSite Info

List Web Analytics sites

GET/accounts/{account_id}/rum/site_info/list

Get a Web Analytics site

GET/accounts/{account_id}/rum/site_info/{site_id}

Create a Web Analytics site

POST/accounts/{account_id}/rum/site_info

Update a Web Analytics site

PUT/accounts/{account_id}/rum/site_info/{site_id}

Delete a Web Analytics site

DELETE/accounts/{account_id}/rum/site_info/{site_id}

RUMRules

List rules in Web Analytics ruleset

GET/accounts/{account_id}/rum/v2/{ruleset_id}/rules

Create a Web Analytics rule

POST/accounts/{account_id}/rum/v2/{ruleset_id}/rule

Update a Web Analytics rule

PUT/accounts/{account_id}/rum/v2/{ruleset_id}/rule/{rule_id}

Delete a Web Analytics rule

DELETE/accounts/{account_id}/rum/v2/{ruleset_id}/rule/{rule_id}

Update Web Analytics rules

POST/accounts/{account_id}/rum/v2/{ruleset_id}/rules

Vectorize

VectorizeIndexes

List Vectorize Indexes

GET/accounts/{account_id}/vectorize/v2/indexes

Get Vectorize Index

GET/accounts/{account_id}/vectorize/v2/indexes/{index_name}

Create Vectorize Index

POST/accounts/{account_id}/vectorize/v2/indexes

Delete Vectorize Index

DELETE/accounts/{account_id}/vectorize/v2/indexes/{index_name}

Insert Vectors

POST/accounts/{account_id}/vectorize/v2/indexes/{index_name}/insert

Query Vectors

POST/accounts/{account_id}/vectorize/v2/indexes/{index_name}/query

Upsert Vectors

POST/accounts/{account_id}/vectorize/v2/indexes/{index_name}/upsert

Delete Vectors By Identifier

POST/accounts/{account_id}/vectorize/v2/indexes/{index_name}/delete_by_ids

Get Vectors By Identifier

POST/accounts/{account_id}/vectorize/v2/indexes/{index_name}/get_by_ids

Get Vectorize Index Info

GET/accounts/{account_id}/vectorize/v2/indexes/{index_name}/info