client.functions.remove
Remove a deployed edge function.
Signature
class Client {
functions: {
remove(name: string): Promise<void>
}
}
Parameters
| Name | Type | Required | Notes |
|---|---|---|---|
| string | yes | Name of the function |
Throws
| Error | Condition |
|---|---|
| Function does not exist |
| 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}