# Delete a function

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Every page is available as Markdown by adding .md to its URL.

> Permanently delete a function. A successful 204 response has no body. Functions with dependencies cannot be deleted; resolve the dependencies identified in the 409 response and submit a new request. Do not automatically retry this request after an unknown outcome: after a successful deletion, subsequent requests return 404.

Source: https://developer.rippling.com/documentation/rest-api/reference/delete-functions

`DELETE https://rest.ripplingapis.com/functions/{function_api_name}/`

Permanently delete a function. A successful 204 response has no body. Functions with dependencies cannot be deleted; resolve the dependencies identified in the 409 response and submit a new request. Do not automatically retry this request after an unknown outcome: after a successful deletion, subsequent requests return 404.

- OAuth scopes: `functions.read-write`
- Requires: API_Tier_1

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `function_api_name` | path | string | Yes | The API name of the function. |

## Responses

### 204: The resource was deleted successfully

### 409: The function cannot be deleted because it has dependencies.

- `detail` (string, required): The dependencies that must be resolved before deletion.
