開発者
POST_v1_webhooks_id_rotate
NXS Risk Policy and Governance API
POST /v1/webhooks/{id}/rotate D未提供
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 required | path | string | Webhook 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)