@@ -668,7 +668,7 @@ def create_tunnel(
668668 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
669669 idempotency_key : str | None = None ,
670670 ) -> DevboxTunnelView :
671- """[Deprecated] Use POST /v1/devboxes/{id}/ enable_tunnel or devbox creation instead.
671+ """[Deprecated] Use enable_tunnel or configure a tunnel at devbox creation instead.
672672
673673 This endpoint
674674 creates a legacy tunnel. The new enable_tunnel endpoint provides improved tunnel
@@ -1273,7 +1273,7 @@ def read_file_contents(
12731273 )
12741274
12751275 @typing_extensions .deprecated (
1276- "remove_tunnel is deprecated; use enable_tunnel or configure a tunnel at devbox creation ."
1276+ "remove_tunnel is deprecated; V2 tunnels cannot be removed and close on devbox shutdown ."
12771277 )
12781278 def remove_tunnel (
12791279 self ,
@@ -1288,7 +1288,7 @@ def remove_tunnel(
12881288 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
12891289 idempotency_key : str | None = None ,
12901290 ) -> object :
1291- """[Deprecated] Use enable_tunnel or devbox creation instead .
1291+ """[Deprecated] V2 tunnels cannot be removed and close on devbox shutdown .
12921292
12931293 This endpoint
12941294 removes a legacy tunnel.
@@ -2281,7 +2281,7 @@ async def create_tunnel(
22812281 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
22822282 idempotency_key : str | None = None ,
22832283 ) -> DevboxTunnelView :
2284- """[Deprecated] Use POST /v1/devboxes/{id}/ enable_tunnel or devbox creation instead.
2284+ """[Deprecated] Use enable_tunnel or configure a tunnel at devbox creation instead.
22852285
22862286 This endpoint
22872287 creates a legacy tunnel. The new enable_tunnel endpoint provides improved tunnel
@@ -2889,7 +2889,7 @@ async def read_file_contents(
28892889 )
28902890
28912891 @typing_extensions .deprecated (
2892- "remove_tunnel is deprecated; use enable_tunnel or configure a tunnel at devbox creation ."
2892+ "remove_tunnel is deprecated; V2 tunnels cannot be removed and close on devbox shutdown ."
28932893 )
28942894 async def remove_tunnel (
28952895 self ,
@@ -2904,7 +2904,7 @@ async def remove_tunnel(
29042904 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
29052905 idempotency_key : str | None = None ,
29062906 ) -> object :
2907- """[Deprecated] Use enable_tunnel or devbox creation instead .
2907+ """[Deprecated] V2 tunnels cannot be removed and close on devbox shutdown .
29082908
29092909 This endpoint
29102910 removes a legacy tunnel.
0 commit comments