Update webhook
documentedUpdate a webhook.
PATCH /spaces/{space_id}/webhooks/{webhook_id}Webhooksno 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.contentful.com/spaces/{{$space_id}}/webhooks/{{$webhook_id}}" \
-X PATCH \
-H "Authorization: Bearer {{CONTENTFUL_API_KEY}}" \
-H "Content-Type: application/vnd.contentful.management.v1+json" \
-H "Accept: application/json" \
-d '{"name": "{{$name}}", "url": "{{$url}}", "httpBasicUsername": "{{$httpBasicUsername}}", "httpBasicPassword": "{{$httpBasicPassword}}", "topics": ["{{$topic1}}","{{$topic2}}"], "headers": [ {"key": "{{$header_key}}", "value": "{{$header_value}}"} ], "filters": {{$filters}}, "active": {{$active}} }'