List of endpoints available to perform operations on Tunnels.
Lists tunnels
Lists all tunnels belonging to this account.
path Parameters
accountNamestring · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
Responses
The request has succeeded.
dataobject[] · required
limitinteger · uint32Example: 1000offsetinteger · uint32Example: 0totalinteger · uint32
Creates a tunnel
Creates a new tunnel for this account.
path Parameters
accountNamestring · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
Request Body
tunnelIdstring · readOnly · requiredExample: tnl_JcHFzTcJ9y4GU69lKBOaxFYUnamestring · pattern:^[a-zA-Z0-9-]{3,24}$· requiredA friendly name for the tunnel.
Example: api-service-tunneltokenstring · readOnly · requiredSet your TUNNEL_TOKEN to this value to connect to the tunnel.
Example: eyJhIjoiODJh[..]m89In0=
Responses
The request has succeeded and a new resource has been created as a result.
tunnelIdstring · readOnly · requiredExample: tnl_JcHFzTcJ9y4GU69lKBOaxFYUnamestring · pattern:^[a-zA-Z0-9-]{3,24}$· requiredA friendly name for the tunnel.
Example: api-service-tunneltokenstring · 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
accountNamestring · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
tunnelIdstring · requiredThe ID of the tunnel.
Responses
The request has succeeded.
tunnelIdstring · readOnly · requiredExample: tnl_JcHFzTcJ9y4GU69lKBOaxFYUnamestring · pattern:^[a-zA-Z0-9-]{3,24}$· requiredA friendly name for the tunnel.
Example: api-service-tunneltokenstring · 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
accountNamestring · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
tunnelIdstring · requiredThe ID of the tunnel.
Responses
The request has succeeded.
idstring · readOnly · requiredExample: tst_1vmvAjaCun9Mfeosn3Og4ddDstatusstring · enum · requiredEnum values:in-progresssuccesserrorExample: success
messagestringExample: Successfully torn down tunnel.detailsstring
Rotates the token
Rotates the token used to connect to the tunnel.
path Parameters
accountNamestring · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
tunnelIdstring · requiredThe ID of the tunnel.
Responses
The request has succeeded.
tunnelIdstring · readOnly · requiredExample: tnl_JcHFzTcJ9y4GU69lKBOaxFYUnamestring · pattern:^[a-zA-Z0-9-]{3,24}$· requiredA friendly name for the tunnel.
Example: api-service-tunneltokenstring · 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
accountNamestring · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
tunnelIdstring · requiredThe ID of the tunnel.
operationIdstring · requiredThe ID of the deletion operation.
Responses
The request has succeeded.
idstring · readOnly · requiredExample: tst_1vmvAjaCun9Mfeosn3Og4ddDstatusstring · enum · requiredEnum values:in-progresssuccesserrorExample: success
messagestringExample: Successfully torn down tunnel.detailsstring