Delete Edge Function
Permanently delete an edge function from your active account's library. Its stored source and compiled bundle are removed, and every edge-function traffic-policy rule on the account's endpoints that names the function's bundle_key is deleted with it.
Requires the endpoints:write permission on the active account. Not plan-gated: an account that lost the edge_functions entitlement, or whose function is paused over the plan, can still delete it — which frees room for a paused function to resume.
Path parameters
fn_uuid string (uuid) Req
The function's
uuid, from List Edge Functions.Response (200 OK)
deleted boolean
Always
true.Errors
401 Unauthorized
Missing or invalid auth.
403 Forbidden
The caller lacks
endpoints:write, or the account is suspended (code account_suspended).404 Not Found
edge function not found — unknown uuid, another account's function, or an application's function.500 Internal Server Error
failed to load edge function, failed to detach edge function rules or failed to delete edge function.Request
curl -X DELETE "https://api.ngris.com/v1/account/edge-functions/019b1f24-1a62-7d27-8411-538ed86e2a62" \
-H "X-API-KEY: <your_api_key>"
Response — 200 OK
{
"deleted": true
}