Functions
Deploy code to a function
Changed onCreates a deployment for the function. Supply any subset of zip, environment, and runtime; omitted fields inherit the function's latest version. At least one field must be supplied. The first deployment of a function must include zip. The newest deployment becomes active.
Note: This endpoint is currently in Beta.
post/projects/{project_id}/branches/{branch_id}/functions/{slug}/deployments
Request
- Base URL: https://console.neon.tech/api/v2
- URL: https://console.neon.tech/api/v2/projects/{project_id}/branches/{branch_id}/functions/{slug}/deployments
- Auth: one of:
- HTTP bearer
- API key in cookie zenith
- API key in cookie keycloak_token
Response
The created deployment
Changes
- ○
endpoint added
- ○