---
title: "update an Azure Event Grid trigger"
method: POST
path: "/w/{workspace}/azure_triggers/update/{path}"
tags: ["azure_trigger"]
---

# update an Azure Event Grid trigger

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

## Path parameters

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

## Request body

- AzureTriggerData — Data for creating or updating an Azure Event Grid trigger.
  - `azure_resource_path` string, required
  - `azure_mode` 'basic_push' | 'namespace_push' | 'namespace_pull', required — Azure Event Grid trigger mode.
  - `scope_resource_id` string, required
  - `topic_name` string, nullable
  - `subscription_name` string, required
  - `base_endpoint` string — Base URL for push delivery endpoints (push modes only).
  - `event_type_filters` string[]
  - `path` string, required — The unique Windmill path for this trigger. Must be of the form `u/<user>/<path>` or `f/<folder>/<path>`. This is the trigger object path, not the HTTP route path.
  - `script_path` string, required
  - `is_flow` boolean, required
  - `mode` 'enabled' | 'disabled' | 'suspended' — job trigger mode
  - `error_handler_path` string
  - `error_handler_args` ScriptArgs — The arguments to pass to the script or flow
  - `retry` Retry — unresolved $ref
  - `permissioned_as` string
  - `preserve_permissioned_as` boolean
  - `labels` string[]

## Response `200`

azure 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)
