Update a Webhook
documentedUpdate a webhook.
PUT /api/v1/webhooks/{id}Analyticsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.sparkpost.com/api/v1/webhooks/{{$id}}" \
-X PUT \
-H "Authorization: {{SPARKPOST_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "target": "{{$target}}", "events": {{$events}}, "subaccount_id": {{$subaccount_id}}, "auth_type": "{{$auth_type}}", "custom_headers": {{$custom_headers}}}'