---
title: "update email trigger"
method: POST
path: "/w/{workspace}/email_triggers/update/{path}"
tags: ["email_trigger"]
---

# update email trigger

`POST /w/{workspace}/email_triggers/update/{path}`

## Path parameters

- `workspace` string, required
- `path` string, required

## Request body

- EditEmailTrigger
  - `path` string, required
  - `script_path` string, required
  - `local_part` string
  - `workspaced_local_part` boolean
  - `is_flow` boolean, required
  - `error_handler_path` string
  - `error_handler_args` ScriptArgs — The arguments to pass to the script or flow
  - `retry` Retry — unresolved $ref
  - `permissioned_as` string — The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.
  - `preserve_permissioned_as` boolean — When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.
  - `labels` string[]

## Response `200`

email trigger updated

---

[API](https://skmtc.net/windmill/apis/windmill-api.md) · [All operations](https://skmtc.net/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/windmill/windmill-api/revisions/a7f071808448/schema)
