Update Relay Webhook
documentedUpdate a relay webhook.
PUT /api/v1/relay-webhooks/{id}Receivingno 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/relay-webhooks/{{$id}}" \
-X PUT \
-H "Authorization: {{SPARKPOST_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "target": "{{$target}}", "auth_type": "{{$auth_type}}", "auth_token": "{{$auth_token}}", "auth_request_details": {"url": "{{$auth_url}}", "body": {"client_id": "{{$client_id}}", "client_secret": "{{$client_secret}}"}}, "custom_headers": {"X-Example-Header": "{{$custom_header_value}}"}, "match": {"domain": "{{$domain}}", "protocol": "SMTP"}}'