Skip to main content

warp_connector_token

Creates, updates, deletes, gets or lists a warp_connector_token resource.

Overview

Namewarp_connector_token
TypeResource
Idcloudflare.zero_trust.warp_connector_token

Fields

The following fields are returned by SELECT queries:

Get a Warp Connector Tunnel token response

NameDatatypeDescription
errorsarray
messagesarray
resultstringThe Tunnel Token is used as a mechanism to authenticate the operation of a tunnel. (example: eyJhIjoiNWFiNGU5Z...)
successbooleanWhether the API call was successful (true)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_id, tunnel_idGets the token used to associate warp device with a specific Warp Connector tunnel.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
tunnel_idstringThe Cloudflare Tunnel ID.

SELECT examples

Gets the token used to associate warp device with a specific Warp Connector tunnel.

SELECT
errors,
messages,
result,
success
FROM cloudflare.zero_trust.warp_connector_token
WHERE account_id = '{{ account_id }}' -- required
AND tunnel_id = '{{ tunnel_id }}' -- required
;