Functions

Update a function.

Redeploys a serverless function with a new configuration.

put/v1/functions/{id}

Request

  • Base URL: https://api.scalix.world
  • URL: https://api.scalix.world/v1/functions/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Function id or name

Request body

namestring required
runtimestring required

One of node, python, go, rust.

image_refstring required
entry_pointstring nullable
handlerstring nullable
envobject nullable

Environment variables for the function (string → string).

timeout_msinteger nullable
memory_mbinteger nullable
cron_expressionstring nullable
http_triggerboolean nullable

Example request

{
  "runtime": "node"
}

Response

Function updated

Changes

No recorded changes to this operation across all 1 revision of this API.