v51

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-02172186551.1 KB
Functions

Deploy function

Publish the function. If sourceCode or dependencies are provided in the body, they replace the current draft before deployment. Returns immediately with a deployment ID — poll GET /v1/functions/deployments/{deploymentId} until status is active or failed.

post/v1/functions/{functionId}/deploy

Path parameters

functionIdstring required

Zavu Function ID.

Request body

sourceCodestring

New source code to publish (replaces the draft).

dependenciesobject

New dependency map (replaces existing dependencies).

Response

Deployment queued.

Example response

{
  "deployment": {
    "id": "fnd_abc123"
  }
}