Sign in

Deploy site from ZIP

documented

Deploy a ZIP payload to the site; can replace site contents or update attributes if not using ZIP.

PUT /api/v1/sites/{site_id}Sitesno 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/sites/{{$site_id}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "custom_domain": "{{$custom_domain}}", "password": "{{$password}}", "force_ssl": {{$force_ssl}}, "processing_settings": {"html": {"pretty_urls": {{$pretty_urls}}}}}'
Deploy site from ZIP · netlify · OpenIntegrations