Regenerates the secret for a webhook.
Warning: This invalidates the previous secret immediately. Update your webhook handler with the new secret before the next delivery.
Path Parameters
- Type: stringidrequired
The webhook ID
Responses
- application/json
- application/problem+json
- application/problem+json
- application/problem+json
Request Example for post/api/v1/webhooks/{id}/secret
curl 'https://app.propstreet.com/api/v1/webhooks/{id}/secret' \
--request POST \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"secret": "string"
}