---
title: "Update Rule"
method: PATCH
path: "/api/reconciliation/rules/{node}/{strategy_id}"
tags: ["reconciliation"]
---

# Update Rule

`PATCH /api/reconciliation/rules/{node}/{strategy_id}`

## Request

- Base URL: `https://demo.usesecuro.com` (the document declares no server; this is the origin it was published from)
- URL: `https://demo.usesecuro.com/api/reconciliation/rules/{node}/{strategy_id}`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/auth/login`
- TypeScript: <https://skmtc.dev/usesecuro/apis/securo/docs/api/reconciliation/rules/:node/:strategy_id/patch.ts> (a function with typed inputs; its response is checked against the schema)

Change a rule: one we ship, or one the workspace wrote.

## Path parameters

- `node` string, required
- `strategy_id` string, required

## Headers

- `X-Workspace-Id` string, nullable

## Request body

- ReconciliationRuleUpdate: A change to a rule we ship. Every field optional: what is not sent stays as shipped, and keeps improving when we improve it.
  - `enabled` boolean, nullable
  - `outcome` string, nullable
  - `trigger` string, nullable
  - `when` object, nullable
  - `position` integer, nullable

## Response `200`

Successful Response

- ReconciliationRuleRead: One rule as the page shows it: shipped, changed, or the workspace's own. `customised` is what lets the screen say "you changed this" and offer to put it back, without the client having to know what we ship.
  - `id` string, required
  - `node` string, required
  - `name` string, nullable
  - `origin` string, required
  - `customised` boolean, required
  - `enabled` boolean, required
  - `outcome` string, required
  - `trigger` string, required
  - `when` object, required
  - `position` integer, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-05** `416a7752fec4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/usesecuro/apis/securo/changes/api/reconciliation/rules/:node/:strategy_id/patch.md)

---

[API](https://skmtc.dev/usesecuro/apis/securo.md) - [All operations](https://skmtc.dev/usesecuro/apis/securo/llms.txt) - [OpenAPI document](https://skmtc.dev/usesecuro/apis/securo/revisions/416a7752fec4?raw)
