Rotate the HMAC signing secret for the registered webhook.
POST
/v1/webhook/secret/rotate
Generates a new HMAC-SHA256 secret for the authenticated account's webhook. The new secret replaces the previous one immediately. Store the returned secret securely — it cannot be retrieved again.
Request
None
Responses
🟢200
application/json
Secret rotated successfully.
Bodyapplication/json
🟠401
🟠404
🔴500
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://dev.api.fieldedge.com/open-api/v1/webhook/secret/rotate'