---
title: "Delete a deployed function"
method: DELETE
path: "/functions/{id}"
tags: ["lifecycle"]
---

# Delete a deployed function

`DELETE /functions/{id}`

## Path parameters

- `id` string, uuid, required

## Headers

- `X-TensorWasm-Tenant` integer

## Response `204`

Function removed

## Other responses

- `401` — Missing or unrecognised bearer token
- `404` — Function or job id is unknown
- `429` — Per-token QPS + burst exceeded. The `Retry-After` header carries the wait in integer seconds (RFC 9110 §10.2.3).

---

[API](https://skmtc.dev/craton-co/apis/tensorwasm-http-api.md) · [All operations](https://skmtc.dev/craton-co/apis/tensorwasm-http-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/craton-co/tensorwasm-http-api/revisions/d363e13d8640/schema)
