AnthropicClaude Managed Agents
Rotate Tunnel Token
Rotate a tunnel's connection token; the old one stops working immediately.
POST
/anthropic/v1/tunnels/{tunnel_id}/rotate_token○ UnsupportedRequest parameters
tunnel_idstring必填path: Tunnel ID (path or query parameter).
reasonstring可选Optional free-text reason for the rotation, recorded for audit.
Returns
501 This endpoint is not implemented yet; calling it returns the response below:
The platform does not offer tunnels that connect agents into your own network yet. Calling it returns 501 (not_implemented_error), produces no side effects, and the official SDK does not retry.
Errors follow the Claude Managed Agents format — see error codes
Response
HTTP 200
Successful response
application/json
| Name | Type | Description |
|---|---|---|
| id | string | Stable identifier for the current token value. Changes when the token is rotated. |
| tunnel_token | string | The connector token used to run the tunnel. Treat as a credential. |
| type | string |