v1
latestOpenAPI 3.0.3Proprietary2026-07-26162247330.6 KBFunctions
Deploy code to a function
Creates 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 Private Beta.
post/projects/{project_id}/branches/{branch_id}/functions/{slug}/deployments
Response
The created deployment