Change a private tunnel's destinations.

Replaces the tunnel's selectors. Instances attached after the change get the new ones; instances already attached keep theirs until another connector takes the tunnel over.

patch/v1/organizations/{organizationId}/tunnels/{id}

Request

  • Base URL: https://api.limrun.com
  • URL: https://api.limrun.com/v1/organizations/{organizationId}/tunnels/{id}
  • Auth: none declared

Path parameters

organizationIdstring required

Organization TID

idstring required

Tunnel ID.

Request body

selectorsstring[] required

The tunnel's new destinations, as in TunnelCreate.

Response

Tunnel updated.

idstring required
namestring required
onlineboolean required

Whether a connector holds the tunnel right now.

selectorsstring[] required

Destinations the tunnel serves.

ephemeralboolean required

Whether the tunnel goes away when its connector exits.

tokenExpiresAtstring date-time

When the tunnel's token expires; absent while it has none.

hostnamestring

Host the current or last connector runs on, as it reported.

clientIpstring

Address the current or last connector connected from.

clientVersionstring

CLI or SDK version of the current or last connector, as it reported.

connectedAtstring date-time
lastSeenAtstring date-time

Last time a connector held the tunnel.

createdAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.