Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Archive Tunnel changedapi/beta/tunnels/archive

Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+13added
Lines−16removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits18to this page, all time

# Archive Tunnel ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Archive Tunnel ### Path Parameters ### Header Parameters ### Returns ### Example #### Response

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Archive Tunnel
3url: https://platform.claude.com/docs/en/api/beta/tunnels/archive
4---
1# Archive Tunnel
52 
6## Archive Tunnel
3**POST** `/v1/tunnels/{tunnel_id}/archive`
74 
8**post** `/v1/tunnels/{tunnel_id}/archive`
9 
105The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a deprecation period. It supersedes the Admin API endpoints at `/v1/organizations/tunnels`, which remain available during a migration window.
116 
127Archives a tunnel. Archival is irreversible: every non-archived certificate on the tunnel is archived in the same operation, the hostname is retired and never re-allocated, and the tunnel token is invalidated. Retrying against an already-archived tunnel returns the existing record unchanged.
138 
14### Path Parameters
9## Path parameters
1510 
1611- `tunnel_id: string`
1712 
18### Header Parameters
13## Headers
1914 
2015- `"anthropic-beta": optional array of AnthropicBeta`
2116 
from line 88
9388 
9489 - `"mid-conversation-tool-changes-2026-07-01"`
9590 
96### Returns
91## Returns
9792 
98- `BetaTunnel object { id, archived_at, created_at, 3 more }`
93- `BetaTunnel object`
9994 
10095 An MCP tunnel.
10196 
from line 102
107102 
108103 A timestamp in RFC 3339 format
109104 
105 format: date-time
106 
110107 - `created_at: string`
111108 
112109 A timestamp in RFC 3339 format
113110 
111 format: date-time
112 
114113 - `display_name: string or null`
115114 
116115 Human-readable name for the tunnel (1-255 characters). Null if unset.
from line 120
121120 
122121 - `type: "tunnel"`
123122 
124 - `"tunnel"`
123## Example
125124 
126### Example
127 
128```http
125```bash
129126curl https://api.anthropic.com/v1/tunnels/$TUNNEL_ID/archive \
130127 -X POST \
131128 -H 'anthropic-version: 2023-06-01' \
from line 130
133130 -H "X-Api-Key: $ANTHROPIC_API_KEY"
134131```
135132 
136#### Response
133### Response (200)
137134 
138135```json
139136{
Feedback