Skip to main content
PATCH
/
v1
/
config
/
contexts
/
{contextId}
Update a reconciliation context
curl --request PATCH \
  --url https://matcher.sandbox.lerian.net/v1/config/contexts/{contextId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "interval": "weekly",
  "name": "Bank Reconciliation Q2",
  "status": "ACTIVE",
  "type": "1:N"
}
'
{
  "id": "1e224c53-dac6-4a1c-bf1e-5aeff8979f5f",
  "tenantId": "11111111-1111-1111-1111-111111111111",
  "name": "Bank Reconciliation Q1",
  "type": "1:1",
  "interval": "daily",
  "status": "ACTIVE",
  "feeToleranceAbs": 0,
  "feeTolerancePct": 0,
  "createdAt": "2026-02-02T13:37:55Z",
  "updatedAt": "2026-02-02T13:37:55Z"
}

Authorizations

Authorization
string
header
required

Bearer token authentication (format: "Bearer {token}")

Headers

X-Request-Id
string

A unique identifier for tracing the request across services.

Path Parameters

contextId
string
required

The unique identifier of the reconciliation context.

Body

application/json

Context updates

interval
string
Maximum string length: 100
Example:

"weekly"

name
string
Maximum string length: 100
Example:

"Bank Reconciliation Q2"

status
enum<string>

Lifecycle status of a reconciliation context

Available options:
ACTIVE,
PAUSED
Example:

"ACTIVE"

type
enum<string>

Reconciliation topology (cardinality between sources)

Available options:
1:1,
1:N,
N:M
Example:

"1:N"

Response

Successfully updated context

id
string
Example:

"1e224c53-dac6-4a1c-bf1e-5aeff8979f5f"

tenantId
string
Example:

"11111111-1111-1111-1111-111111111111"

name
string
Example:

"Bank Reconciliation Q1"

type
enum<string>

Reconciliation topology (cardinality between sources)

Available options:
1:1,
1:N,
N:M
interval
string
Example:

"daily"

status
enum<string>

Lifecycle status of a reconciliation context

Available options:
ACTIVE,
PAUSED
feeToleranceAbs
number
Example:

0

feeTolerancePct
number
Example:

0

createdAt
string
Example:

"2026-02-02T13:37:55Z"

updatedAt
string
Example:

"2026-02-02T13:37:55Z"