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○ Unsupported

Request 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

NameTypeDescription
idstringStable identifier for the current token value. Changes when the token is rotated.
tunnel_tokenstringThe connector token used to run the tunnel. Treat as a credential.
typestring