B2B

connector-webhook-secret

1 endpoints · /api/b2b/v1/connector-webhook-secret

Request examples are generated from each endpoint's REAL method and path. 1 endpoints have no hand-verified body example yet; their skeleton has no body — we do not invent field names.

PUT/api/b2b/v1/admin/connector-webhook-secret/{connection_id}

PUT /api/b2b/v1/admin/connector-webhook-secret/{connection_id} — bir bağlantının inbound webhook

OturumYol parametresi: connection_id

imza secret'ını AYARLA/YENİLE (b2b.connector_auth'a SEALED; secret ASLA okunmaz/yanıtta dönmez — bu uç yalnız yazar). b2b.connectors.manage. Public webhook ingress ([crate::connector_webhook], require_b2b_public) gelen HMAC imzalarını buna karşı doğrular; secret set edilmemişse ingress fail-closed 401 döner. Secret ASLA yanıtta dönmez. Ayrı yol (/{kind}/test ile aynı segment-pozisyonunda param-adı çakışmasını önler — matchit).

İstek
curl -X PUT "https://{slug}.b2b.blesyum.app/api/b2b/v1/admin/connector-webhook-secret/<connection_id>" \
  -H "Authorization: Bearer <oturum-token>" \
  -H "Accept: application/json"
Yanıt
{
  "data": "…",
  "trace_id": "01JC…"
}
Bu sayfa işine yaradı mı?