---
title: "Delete function"
method: DELETE
path: "/api/v1/functions/{function_id}"
tags: ["Functions"]
---

# Delete function

`DELETE /api/v1/functions/{function_id}`

Delete a function and all its revisions. Deletion is asynchronous;
the function's name and URL are released once it completes.

## Path parameters

- `function_id` string, required

## Response `200`

Deletion accepted

## Other responses

- `401` — Authentication required
- `404` — Resource not found

---

[API](https://skmtc.dev/rafftechnologies/apis/raff-api.md) · [All operations](https://skmtc.dev/rafftechnologies/apis/raff-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rafftechnologies/raff-api/revisions/2f4df56be77c/schema)
