Skip to main content
POST
/
v1
/
config
/
contexts
/
{contextId}
/
rules
/
reorder
Reorder match rules
curl --request POST \
  --url https://matcher.sandbox.lerian.net/v1/config/contexts/{contextId}/rules/reorder \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ruleIds": [
    "<string>"
  ]
}
'
{
  "code": "404",
  "title": "not_found",
  "message": "context not found",
  "error": "<string>"
}

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

Ordered list of rule IDs

ruleIds
string[]
required
Minimum array length: 1

Response

Match rules reordered