BlueForge Docs

client.functions.remove

Remove a deployed edge function.

Signature

class Client {
  functions: {
    remove(name: string): Promise<void>
  }
}

Parameters

NameTypeRequiredNotes
name
stringyesName of the function

Throws

ErrorCondition
NotFoundError
Function does not exist
AuthError
Invalid or expired API key

Examples

await bf.functions.remove('hello')

Pitfalls

  • Irreversible — the function and its code are permanently deleted
  • Running invocations — in-flight requests are not interrupted

See also

{auto-injected}

Tested against

{auto-injected}