Resets the signing secret of a Webhook. The request body is empty. The new signing secret is returned only in this response. Subsequent deliveries use the reset secret to compute signatures.
Prerequisites
Endpoint and authentication configured. For details, see Overview and authentication.
Endpoint
POST /webhook_endpoints/{id}/reset_secret
Path parametersidstring (必选)Webhook ID, format wep_<ULID> | Request example |
Response fieldsidstring—signing_secret stringNew signing secret, format whsec_ + standard Base64 text. Returned only in this responseupdated_at string—request_id stringUnique identifier of this request; include it when troubleshooting | Response |
Error codes
| HTTP status | Error code | Description |
|---|---|---|
| 404 | 11800005 | failed to reset webhook signing secret |