The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Rotate Tunnel Token
3url: https://platform.claude.com/docs/en/api/beta/tunnels/rotate_token
4---
5
16# Rotate Tunnel Token
27
38**POST** `/v1/tunnels/{tunnel_id}/rotate_token`
from line 23
1823
1924 - `string`
2025
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2227
2328 - `"message-batches-2024-09-24"`
2429
from line 71
6671
6772 - `"user-profiles-2026-08-18"`
6873
74 - `"user-profiles-2026-09-04"`
75
6976 - `"advisor-tool-2026-03-01"`
7077
7178 - `"managed-agents-2026-04-01"`
from line 115
108115
109116 - `"mid-conversation-system-clear-at-2026-08-21"`
110117
118- `"anthropic-workspace-id": optional string`
119
111120## Body parameters
112121
113122- `reason: optional string or null`
from line 131
122131
123132 A tunnel's connector token.
124133
134 - `type: "tunnel_token"`
135
125136 - `id: string`
126137
127138 Stable identifier for the current token value. Changes when the token is rotated.
from line 140
129140 - `tunnel_token: string`
130141
131142 The connector token used to run the tunnel. Treat as a credential.
132
133 - `type: "tunnel_token"`
134143
135144## Example
136145