Rotate a webhook secret

POST {{baseUrl}}/v3/webhooks/rotate-secret/:id

Update the webhook secret value for a destination. The previous value will immediately stop being used and the new value will take over.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"data":{"id":"\u003cstring\u003e","description":"\u003cstring\u003e","trigger_types":["\u003cstring\u003e","\u003cstring\u003e"],"callback_url":"\u003cstring\u003e","webhook_secret":"\u003cstring\u003e","status":"\u003cstring\u003e","notification_email_addresses":["\u003cstring\u003e","\u003cstring\u003e"]},"request_id":"\u003cstring\u003e"}