Revoke a connector certificate

⚠️
Preview — this feature is being built; the design below is the spec.
POST https://app.syntic.ai/v1/tunnels/{tunnel_id}/certificates/{certificate_id}/revoke

Revoke a certificate immediately. A connector using it is disconnected within 10 seconds and cannot reconnect with it.

For how this fits into a full workflow, see MCP tunnels.

Headers

HeaderRequiredValue
AuthorizationYesBearer <key>: a private inference key (sk_live_...). See Authentication.
syntic-betaYes, while in previewmcp-tunnels-2026-12-01. Without it the call fails with 400 beta_required. See Versioning.
Idempotency-KeyNoUp to 255 characters. Retrying with the same key within 24 hours returns the first result instead of acting twice. See Idempotency.

Path parameters

ParameterTypeDescription
tunnel_idstringThe tunnel id, starting with tnl_.
certificate_idstringThe certificate id, starting with tcert_.

Response

200 OK, Content-Type: application/json

{
  "id": "tcert_01JCE9K1M3P5R7T9V1X3",
  "type": "tunnel_certificate",
  "tunnel_id": "tnl_01JCE4G6J8L0N2Q4S6U8",
  "subject": "CN=erp-onprem-connector-1",
  "serial": "4A:91:0C:7E:22:5B",
  "fingerprint_sha256": "b2:7e:…:91",
  "not_before": "2026-11-05T10:00:00Z",
  "not_after": "2027-02-03T10:00:00Z",
  "status": "revoked",
  "revoked_at": "2026-11-05T10:00:00Z"
}
FieldTypeDescription
not_afterstringCertificates are valid for 90 days. Issue the next one before this date.
statusstringactive, expired or revoked.

Examples

curl -sS -X POST "https://app.syntic.ai/v1/tunnels/tnl_01JCE4G6J8L0N2Q4S6U8/certificates/tcert_01JCE9K1M3P5R7T9V1X3/revoke" \
  -H "Authorization: Bearer $SYNTIC_API_KEY" \
  -H "syntic-beta: mcp-tunnels-2026-12-01" \
  -H "Idempotency-Key: 8d6f0c1e-4b2a-4a57-9f0e-2f1d3c4b5a69"

Errors

Errors use the error envelope and carry a request_id. Codes specific to this operation:

StatustypecodeWhen
400invalid_request_errorbeta_requiredThe syntic-beta header is missing.
404not_found_errorcertificate_not_foundNo certificate with this id on the tunnel.
401authentication_errorinvalid_api_keyThe key is missing, unknown, revoked or expired.
429rate_limit_errorrate_limitedToo many requests; wait for Retry-After. See Rate-limit headers.
Was this page helpful?