# PATCH /api/workflows/:id/triggers/:nodeId

PATCH /api/workflows/:id/triggers/:nodeId

Canonical URL: https://opennodeflow.dev/wiki/api-patch-api-workflows-id-triggers-nodeid/
JSON reference: https://opennodeflow.dev/wiki/api-patch-api-workflows-id-triggers-nodeid/index.json
Source snapshot: 2026-10-23

PATCH /api/workflows/:id/triggers/:nodeId



```http
PATCH /api/workflows/:id/triggers/:nodeId
```


## Contract

`{expectedRevision,enabled?,kind?,intervalSeconds?,cron?}` → `Workflow` — Required revision guard, preserves siblings. Pure pause bypasses graph validity only; resume/config changes validate

## Request



```json
{
  "path": [
    "id",
    "nodeId"
  ],
  "query": [],
  "body": [
    "expectedRevision"
  ]
}
```



## Response



```json
{
  "statuses": [],
  "fields": []
}
```



## Guard

Trusted-host Host/Origin boundary; per-route revision, version and validation checks apply.

## Use this endpoint

The base URL is your own ONF host, for example `http://localhost:4310`. Read [HTTP API usage](/wiki/http-api/) for request bodies, revision guards, accepted-run behavior and errors.

A source-registered route is not a promise that every real provider or every input combination has been tested. Use [agent safety](/wiki/agent-safety/) when an operation can run code or change external systems.

---

## Documentation provenance

- `server/index.ts`

This page describes maintained source, not a live inventory or an authorization to perform actions.
