Archive Tunnel changedapi/admin/mcp_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+14added
Lines−15removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits4to 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
/
from line 1
1---
2title: Archive Tunnel
3url: https://platform.claude.com/docs/en/api/admin/mcp_tunnels/archive
4---
1# Archive Tunnel
52
6## Archive Tunnel
3**POST** `/v1/organizations/tunnels/{tunnel_id}/archive`
74
8**post** `/v1/organizations/tunnels/{tunnel_id}/archive`
5**Deprecated**
96
107**Deprecated.** This Admin API endpoint is superseded by `/v1/tunnels` on the Claude API and will be removed after a migration window. New integrations should use [`/v1/tunnels`](/docs/en/api/beta/tunnels) with the `anthropic-beta: mcp-tunnels-2026-06-22` header and a WIF token carrying the `workspace:manage_tunnels` scope. Existing integrations continue to work with the `mcp-tunnels-2026-05-19` header and `org:manage_tunnels` scope during the migration window.
118
from line 13
1613tunnel token is invalidated. Retrying against an already-archived
1714tunnel returns the existing record unchanged.
1815
19### Path Parameters
16## Path parameters
2017
2118- `tunnel_id: string`
2219
2320 ID of the Tunnel.
2421
25### Header Parameters
22## Headers
2623
2724- `"anthropic-beta": array of "mcp-tunnels-2026-05-19"`
2825
2926 Required for all Tunnel endpoints.
3027
31 - `"mcp-tunnels-2026-05-19"`
28## Returns
3229
33### Returns
34
3530- `id: string`
3631
3732 ID of the Tunnel.
from line 36
4136 RFC 3339 datetime string indicating when the Tunnel was archived, or
4237 `null` if it is not archived.
4338
39 format: date-time
40
4441- `created_at: string`
4542
4643 RFC 3339 datetime string indicating when the Tunnel was created.
4744
45 format: date-time
46
4847- `display_name: string or null`
4948
5049 Human-readable name for the Tunnel (1–255 characters), or `null` if unset.
from line 58
5958
6059 Object type. Always `tunnel` for Tunnels.
6160
62 - `"tunnel"`
61 default: tunnel
6362
6463- `workspace_id: string or null`
6564
from line 65
6665 ID of the Workspace this Tunnel belongs to, or `null` for the default
6766 Workspace. Immutable after creation.
6867
69### Example
68## Example
7069
71```http
70```bash
7271curl https://api.anthropic.com/v1/organizations/tunnels/$TUNNEL_ID/archive \
7372 -X POST \
7473 -H 'anthropic-version: 2023-06-01' \
from line 74
7574 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
7675```
7776
78#### Response
77### Response (200)
7978
8079```json
8180{
No line in this hunk matches that.