Edge Functions

Update a function

Updates a function with the specified slug and project.

patch/v1/projects/{ref}/functions/{function_slug}

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP bearer
    • fga_permissions (a scheme the document does not define)

Path parameters

refstring required

Project ref

function_slugstring required

Function slug

Query parameters

slugstring
namestring
verify_jwtboolean

Boolean string, true or false

import_mapboolean

Boolean string, true or false

entrypoint_pathstring
import_map_pathstring
ezbr_sha256string

Request body

namestring
bodystring
verify_jwtboolean

Response

idstring required
slugstring required
namestring required
status'ACTIVE' | 'REMOVED' | 'THROTTLED' required
versioninteger required
created_atinteger required
updated_atinteger required
verify_jwtboolean
import_mapboolean
entrypoint_pathstring
import_map_pathstring
ezbr_sha256string

Changes

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