Reachability
Turn a tunnel's environment hosts on or off.
Changed onOn publishes every listed environment as <label>.<domain>; off withdraws every host it generated. Both need confirm: the confirm_token of the list from the GET that was shown. Turning it on is a sensitive action (it widens every environment to public). At most one tunnel has it on.
put/ingress/connectors/{id}/environment-hosts
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
idinteger required
Tunnel id
Request body
Response
Example response
{
"confirm_token": "3f2a9c1e0b7d4a65",
"host_suffix": "lab",
"hosts": [
{
"hostname": "shop-production.tunnel.example.com"
}
]
}Changes
- info
added the optional property
host_suffixto the response with the status
- info
- breaking
the
confirmrequest property type changed frombooleantostringnull - info
the request property
confirmbecame nullable
2 more changes in this revision
- breaking