---
title: "Delete a durable function"
method: DELETE
path: "/projects/{id}/durable-functions/{functionId}"
tags: ["Durable Functions"]
---

# Delete a durable function

`DELETE /projects/{id}/durable-functions/{functionId}`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/projects/{id}/durable-functions/{functionId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Accepted for asynchronous teardown; the work continues after the
response. The function's executions go with it: executions still in
flight are stopped, and history stops being readable whatever
`retention_days` had left.

Stopping is asynchronous at the platform, and it does not interrupt a
step already running -- that step runs to its next checkpoint. So a
delete ends an execution rather than halting it mid-step; stop the
execution yourself first if you need to observe it ending.

## Path parameters

- `id` string, uuid, required
- `functionId` string, required

## Response `202`

Deletion accepted and teardown started

## Other responses

- `404`: Durable function not found. Also returned for an id that names a durable function in another project, so the response cannot be used to tell the two apart.

## Changes

- **2026-10-26** `4b0676e06128`: 1 info
  - the endpoint scheme security `ProjectAccessToken` was added to the API
- **2026-09-19** `3a6f365f3f35`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/projects/:id/durable-functions/:functionId/delete.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
