#!/usr/bin/env sh
curl --fail-with-body --silent --show-error \
  --request PUT "$BASE_URL/api/v1/webhook" \
  --header "Authorization: Bearer $API_TOKEN" \
  --header 'Content-Type: application/json' \
  --header 'X-Correlation-ID: <CORRELATION_ID>' \
  --data '{"url":"https://<WEBHOOK_HOST>/delivery","secret":"<RANDOM_SECRET_AT_LEAST_32_BYTES>","enabled":true}'

