Reset Webhook's secret key

Changed on
post/webhook/{webhook_uid}/reset_secret

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/webhook/{webhook_uid}/reset_secret
  • Auth
    API key in header x-api-key

Path parameters

webhook_uidstring required

Headers

x-api-keystring

Request body

secret_keystring

Note: It is required to send the existing secret key in the body

Response

200

typestring
messagestring
secret_keystring

Example response

{
  "type": "success",
  "message": "Webhook Secret Updated",
  "secret_key": "xxxxxxxxxxxxxxxxxxxxxxx"
}

Changes