Skip to main content
PATCH
/
v1
/
webhook-destinations
/
{uuid}
Update Webhook Destination
curl --request PATCH \
  --url https://identity.contra.id/v1/webhook-destinations/{uuid}
curl -X PATCH https://identity.contra.id/v1/webhook-destinations/$UUID \
  -H "x-api-key: $CONTRA_KEY" -H "Content-Type: application/json" \
  -d '{ "rotate_secret": true }'
BodyTypeDescription
urlurlNew endpoint.
versionenumv1 · v2 · v3.
eventsstring[]New event subscription.
activebooleanToggle on/off without deleting.
rotate_secretbooleantrue → new HMAC secret returned (old invalidated immediately).