Edge Functions

Create a function

This endpoint is deprecated - use the deploy endpoint. Creates a function and adds it to the specified project.

post/v1/projects/{ref}/functions

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

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

slugstring required
namestring required
bodystring required
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.