Tunnels
List of endpoints available to perform operations on Tunnels.
https://dev.zuplo.com
Lists tunnels
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 · requiredname
string · pattern:^[a-zA-Z0-9-]{3,24}$
· requiredA friendly name for the tunnel.
token
string · readOnly · requiredSet your TUNNEL_TOKEN to this value to connect to the tunnel.
Responses
tunnelId
string · readOnly · requiredname
string · pattern:^[a-zA-Z0-9-]{3,24}$
· requiredA friendly name for the tunnel.
token
string · readOnly · requiredSet your TUNNEL_TOKEN to this value to connect to the tunnel.
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 · requiredname
string · pattern:^[a-zA-Z0-9-]{3,24}$
· requiredA friendly name for the tunnel.
token
string · readOnly · requiredSet your TUNNEL_TOKEN to this value to connect to the tunnel.
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 · requiredstatus
string · enum · requiredEnum values:in-progresssuccesserrormessage
stringdetails
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 · requiredname
string · pattern:^[a-zA-Z0-9-]{3,24}$
· requiredA friendly name for the tunnel.
token
string · readOnly · requiredSet your TUNNEL_TOKEN to this value to connect to the tunnel.
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 · requiredstatus
string · enum · requiredEnum values:in-progresssuccesserrormessage
stringdetails
string