Skip to main content
PUT
cURL

Authorizations

Authorization
string
header
required

App API key (format: sk_live_app_* or sk_test_app_*) for app-level operations

Path Parameters

slug
string
required

Function slug identifier

Minimum string length: 1
Example:

"my-function"

Body

application/json
name
string

Human-readable name of the function

Minimum string length: 1
Example:

"Updated Function Name"

description
string

Description of the function

Example:

"Updated description"

Response

Update function configuration

id
string
required

Unique identifier for a Function. Format: fn_[test_]{ksuid}

Pattern: ^fn_(?:test_)?[a-zA-Z0-9]{27}$
Example:

"fn_2DbBs7GWhGvVNJGrDXr5RG0mBWI"

slug
string
required

Function slug identifier

Example:

"my-function"

name
string
required

Human-readable name of the function

Example:

"My Function"

description
string | null
required

Description of the function

Example:

"A function that does something useful"

createdAt
string<date-time>
required

When the function was created

Example:

"2021-08-01T00:00:00Z"

updatedAt
string<date-time>
required

When the function was last updated

Example:

"2021-08-01T00:00:00Z"