---
title: "Update trigger workflows"
method: PUT
path: "/v1/connect/{project_id}/deployed-triggers/{trigger_id}/pipelines"
---

# Update trigger workflows

`PUT /v1/connect/{project_id}/deployed-triggers/{trigger_id}/pipelines`

Connect or disconnect workflows to receive trigger events

## Query parameters

- `external_user_id` string, required

## Headers

- `x-pd-environment` 'development' | 'production', required — The environment in which the server client is running

## Request body

- UpdateTriggerWorkflowsOpts — Request options for updating workflows that listen to trigger events
  - `workflow_ids` string[], required — Array of workflow IDs to set

## Response `200`

trigger workflows updated

- GetTriggerWorkflowsResponse — Response received when retrieving trigger workflows
  - `workflow_ids` string[], required

## Other responses

- `429` — too many requests

---

[API](https://skmtc.dev/pipedream/apis/pipedream-rest-api.md) · [All operations](https://skmtc.dev/pipedream/apis/pipedream-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pipedream/pipedream-rest-api/revisions/c25dbf225c49/schema)
