Functions
Update function
Update function metadata or code. Supports partial updates - only include fields you want to change.
Common updates:
- Update function code (requires redeployment to take effect)
- Change function name or description
- Update runtime configuration
- Modify function slug
Important: Code updates are saved immediately but do NOT automatically deploy. After updating code, you must call POST /functions/{id}/deploy for changes to take effect in production.
patch/functions/{function_id}
Request
- Base URLhttps://api.kapso.ai/platform/v1
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Function updated successfully
Example response
{
"data": {
"slug": "calculate-shipping-cost",
"endpoint_url": "https://api.kapso.ai/platform/v1/functions/{function_id}/invoke"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.