> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/cloud/code/functions/edit.md).

# Function editor

Edit a function's code and settings.

**Where:** Code → Functions → function · `/projects/<project>/code/functions/<functionId> · …/custom/<functionId>/edit`

{% hint style="danger" %}
These routes (`…/functions/<functionId>`, `…/functions/custom/<functionId>/edit`, and the system-function routes `…/functions/system/list` and `…/functions/system/<functionId>/edit`) are defined in the app's route table but no screen is mounted for them in the current build — standalone code functions were removed in the V2 backend. Opening the URLs shows nothing. The **Edit Function** screen (same form as [Create a custom function](/cloud/code/functions/new.md), plus a copyable `cf_…` id and a **Delete function…** action) returns only if the legacy pages are re-modeled onto V2.
{% endhint %}

## Use it from code

[Code](/sdks-and-cli/code.md)

## API reference

Endpoints: [Code](/api-reference/code.md).
