Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

Rotate Webhook Secret

POST /tenants/{tenant}/webhooks/{webhookId}/secret/rotate

Issues the webhook a new signing secret, answered once. The secret it replaces stays valid for a day, and deliveries are signed with both until then. 409 while webhooks are not switched on in this environment.

Requires: Update on OutboundWebhooks.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

webhookId* path string (uuid)

Responses

401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found
409 Conflict
503 Service Unavailable