cURL
curl --request POST \ --url http://localhost:5173/api/netlify-deploy \ --header 'Content-Type: application/json' \ --cookie apiKeys= \ --data ' { "files": {}, "siteId": "<string>", "siteName": "<string>" } '
{ "url": "<string>", "deploymentId": "<string>", "status": "success" }
Creates or updates a Netlify site deployment with the provided files.
Cookie-based authentication storing API keys and provider settings
File paths mapped to content with SHA1 hashes
Show child attributes
Existing site ID for updates
Site name for new deployments
Deployment successful
Deployment URL
success
failed
pending
Was this page helpful?