> 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/files/triggers/edit.md).

# Edit a trigger

**Where:** Files → Triggers → trigger → Edit · `/projects/<project>/files/triggers/<triggerId>/edit`

{% hint style="info" %}
Screenshot TODO — capture comes from testing-plan area **02-triggers**.
{% endhint %}

The same form as [Create a files trigger](/cloud/files/triggers/new.md), loaded with the saved trigger. The header shows the trigger's id (`trg_…`) with a copy button, and an actions menu with **Enable** / **Disable**, **Delete trigger...**, and **See documentation**. A disabled trigger shows a banner — "Trigger is disabled, but you can still edit it." — and stays saved but never fires.

Change the event, the action and its delivery settings, the **Order**, name, or description, then **Save**. **Cancel** returns to the list without saving.

## Use it from code

[Files → Triggers](/sdks-and-cli/files/triggers.md) — [Get Files Trigger](/sdks-and-cli/files/triggers/get-files-trigger.md), [Enable](/sdks-and-cli/files/triggers/enable-files-trigger.md) / [Disable](/sdks-and-cli/files/triggers/disable-files-trigger.md) / [Delete Files Trigger](/sdks-and-cli/files/triggers/delete-files-trigger.md).

## API reference

Endpoints: [Save Files Trigger](/api-reference/files/triggers/save-files-trigger.md), [Get Files Trigger](/api-reference/files/triggers/get-files-trigger.md), [Delete Files Trigger](/api-reference/files/triggers/delete-files-trigger.md).
