Claude Platform Docs

Arquivar certificado de túnel

Deprecated
POST/v1/organizations/tunnels/{tunnel_id}/certificates/{certificate_id}/archive

Descontinuado. Este endpoint da Admin API foi substituído por /v1/tunnels na Claude API e será removido após uma janela de migração. Novas integrações devem usar /v1/tunnels com o cabeçalho anthropic-beta: mcp-tunnels-2026-06-22 e um token WIF com o escopo workspace:manage_tunnels. As integrações existentes continuam funcionando com o cabeçalho mcp-tunnels-2026-05-19 e o escopo org:manage_tunnels durante a janela de migração.

Arquiva um certificado, removendo-o do conjunto em que a Anthropic confia para este túnel.

O registro do certificado é mantido. É permitido arquivar o último certificado não arquivado; o túnel rejeita o tráfego MCP até que um novo certificado seja adicionado.

Path parameters
tunnel_id: string

ID of the Tunnel.

certificate_id: string

ID of the Tunnel Certificate.

Headers
"anthropic-beta": array of "mcp-tunnels-2026-05-19"

Required for all Tunnel endpoints.

Returns
id: string

ID of the Tunnel Certificate.

archived_at: string or null

RFC 3339 datetime string indicating when the certificate was archived, or null if it is not archived.

formatdate-time
created_at: string

RFC 3339 datetime string indicating when the certificate was registered.

formatdate-time
expires_at: string or null

RFC 3339 datetime string indicating when the certificate expires, or null if it does not expire.

formatdate-time
fingerprint: string

The certificate's SHA-256 fingerprint, as a lowercase hex string.

tunnel_id: string

ID of the Tunnel this certificate is registered against.

type: "tunnel_certificate"

Object type. Always tunnel_certificate for Tunnel Certificates.

defaulttunnel_certificate
Arquivar certificado de túnel
cURL
curl https://api.anthropic.com/v1/organizations/tunnels/$TUNNEL_ID/certificates/$CERTIFICATE_ID/archive \
    -X POST \
    -H 'anthropic-version: 2023-06-01' \
    -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
Returns Examples
Response 200
{
  "id": "tcrt_01JmWq4ZxnBvR7tKpY2sLdH9",
  "archived_at": "2024-11-01T23:59:27.427722Z",
  "created_at": "2024-10-30T23:58:27.427722Z",
  "expires_at": "2024-10-30T23:58:27.427722Z",
  "fingerprint": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
  "tunnel_id": "tnl_01Hx9Kp2RtQvMn3sWbYdLcF8",
  "type": "tunnel_certificate"
}