List of endpoints available to perform operations on Tunnels.
Lists tunnels
Lists all tunnels belonging to this account.
path Parameters
accountName
string · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
Responses
data
object[] · requiredlimit
integer · uint32Example: 1000offset
integer · uint32total
integer · uint32
Creates a tunnel
Creates a new tunnel for this account.
path Parameters
accountName
string · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
Request Body
tunnelId
string · readOnly · requiredExample: tnl_JcHFzTcJ9y4GU69lKBOaxFYUname
string · pattern:^[a-zA-Z0-9-]{3,24}$
· requiredA friendly name for the tunnel.
Example: api-service-tunneltoken
string · readOnly · requiredSet your TUNNEL_TOKEN to this value to connect to the tunnel.
Example: eyJhIjoiODJh[..]m89In0=
Responses
tunnelId
string · readOnly · requiredExample: tnl_JcHFzTcJ9y4GU69lKBOaxFYUname
string · pattern:^[a-zA-Z0-9-]{3,24}$
· requiredA friendly name for the tunnel.
Example: api-service-tunneltoken
string · readOnly · requiredSet your TUNNEL_TOKEN to this value to connect to the tunnel.
Example: eyJhIjoiODJh[..]m89In0=
Gets a tunnel
Returns the details for a tunnel, including the token used to connect to the tunnel.
path Parameters
accountName
string · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
tunnelId
string · requiredThe ID of the tunnel.
Responses
tunnelId
string · readOnly · requiredExample: tnl_JcHFzTcJ9y4GU69lKBOaxFYUname
string · pattern:^[a-zA-Z0-9-]{3,24}$
· requiredA friendly name for the tunnel.
Example: api-service-tunneltoken
string · readOnly · requiredSet your TUNNEL_TOKEN to this value to connect to the tunnel.
Example: eyJhIjoiODJh[..]m89In0=
Deletes a tunnel
Deletes a tunnel and any services that it has.
path Parameters
accountName
string · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
tunnelId
string · requiredThe ID of the tunnel.
Responses
id
string · readOnly · requiredExample: tst_1vmvAjaCun9Mfeosn3Og4ddDstatus
string · enum · requiredEnum values:in-progresssuccesserrorExample: successmessage
stringExample: Successfully torn down tunnel.details
string
Rotates the token
Rotates the token used to connect to the tunnel.
path Parameters
accountName
string · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
tunnelId
string · requiredThe ID of the tunnel.
Responses
tunnelId
string · readOnly · requiredExample: tnl_JcHFzTcJ9y4GU69lKBOaxFYUname
string · pattern:^[a-zA-Z0-9-]{3,24}$
· requiredA friendly name for the tunnel.
Example: api-service-tunneltoken
string · readOnly · requiredSet your TUNNEL_TOKEN to this value to connect to the tunnel.
Example: eyJhIjoiODJh[..]m89In0=
Gets a teardown status
This endpoint returns the status of the deletion of the tunnel. Tearing down the tunnel is an asynchronous process so this endpoint allows you to poll the status.
path Parameters
accountName
string · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
tunnelId
string · requiredThe ID of the tunnel.
operationId
string · requiredThe ID of the deletion operation.
Responses
id
string · readOnly · requiredExample: tst_1vmvAjaCun9Mfeosn3Og4ddDstatus
string · enum · requiredEnum values:in-progresssuccesserrorExample: successmessage
stringExample: Successfully torn down tunnel.details
string