Rotate a webhook signing secret
Replace an existing signing secret immediately. The previous secret is no longer used for new deliveries. Save the returned secret; it cannot be retrieved afterward. Fails if no secret is configured.
Required permissions: notification_endpoint:update.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
notification_endpoint_id
The ID of the webhook endpoint.
Headers
X-Penny-As-Business
Act on behalf of another business that has granted you access. Requires the business:act_as permission.
Response
Successful Response
signing_secret
New signing secret. Returned only by creation and rotation operations. Use the entire string, including its prefix, as the HMAC key.
algorithm
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error