v1
latestOpenAPI 3.0.02026-07-14169146300.3 KBEdge Functions
Update a function
Updates a function with the specified slug and project.
patch/v1/projects/{ref}/functions/{function_slug}
Path parameters
refstring required
Example:abcdefghijklmnopqrst
Project ref
function_slugstring required
Example:hello-world
Function slug
Query parameters
slugstring
Example:hello-world
namestring
Example:Hello World
verify_jwtboolean
Example:true
Boolean string, true or false
import_mapboolean
Boolean string, true or false
entrypoint_pathstring
Example:index.ts
import_map_pathstring
Example:import_map.json
ezbr_sha256string
Example:44c691990518d25498f0fd80cf6631ecf2b58eb9c5eb2a087dd1688f2904dac7
Request body
Example request
{
"name": "Hello World",
"body": "Deno.serve(() => new Response('Hello again!'))",
"verify_jwt": true
}