Creates a new serverless Edge Function for a Supabase project (identified by `ref`), requiring valid JavaScript/TypeScript in `body` and a project-unique `slug` identifier.
refRequiredstringProject's unique identifier (path parameter).
bodyRequiredstringJavaScript or TypeScript source code for the Edge Function.
nameRequiredstringHuman-readable name for the function.
slugRequiredstringURL-friendly identifier for the function's route prefix. Must be unique within the project.
import_mapbooleanIf true, enable import map for ES module resolution.
verify_jwtbooleanIf true, verify JWT in Authorization header before invoking the function. Set to false for public endpoints like webhooks.
entrypoint_pathstringPath to main function code, relative to project's functions directory. Defaults to `./index.ts` or `./index.js` in function's slug directory.
import_map_pathstringPath to import map JSON, relative to project's functions directory; used if `import_map` is true. Defaults to `import_map.json` in function's slug directory.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.