انتقل إلى المحتوى
The Consortium

المطورون

POST_v1_webhooks_id_rotate

NXS Risk Policy and Governance API

Open. Reading is free and needs no key.

POST /v1/webhooks/{id}/rotate Dغير مُقدَّم

All operations

Rotate the signing secret

Makes a new signing secret, shown once; the previous one stops signing at once. Needs a Passport bearer token carrying the scope grf.webhook_subscribe:write; the account that created a webhook is its only reader and writer. Answers 503 WEBHOOKS_OFF while GRF_DATABASE_URL is unset. (D until switched on) State: designed (typed refusal until built).

This operation is not served. It answers with a typed refusal.

المعلمات

المعلمات
الاسمInالنوعما يفعله
id requiredpathstringWebhook id

Responses

  • 200 The webhook answer
  • 400 BAD_BODY or INVALID_REQUEST (a problem, RFC 9457)
  • 401 AUTH_REQUIRED or TOKEN_INVALID (a problem, RFC 9457)
  • 403 INSUFFICIENT_SCOPE (a problem, RFC 9457)
  • 404 WEBHOOK_NOT_FOUND (a problem, RFC 9457)
  • 429 RATE_LIMITED (a problem, RFC 9457)
  • 500 INTERNAL (a problem, RFC 9457)
  • 503 WEBHOOKS_OFF while GRF_DATABASE_URL is unset (a problem, RFC 9457)