Sign in

Update dev server hook

documented

Update a dev server hook.

PUT /api/v1/site-dev-server-hooks/{hook_id}Hooksno implementation yet0 runs
No 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.netlify.com/api/v1/hooks/{{HOOK_ID}}" \
  -X DELETE \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
&& npx -y keychains@latest curl "https://api.netlify.com/api/v1/hooks" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -d '{"site_id": "{{$site_id}}", "type": "{{$type}}", "event": "{{$event}}", "data": {{$hook_data}}}'
Update dev server hook · netlify · OpenIntegrations