Skip to main content
PATCH
/
v1
/
organizations
/
{organization_id}
/
ledgers
/
{ledger_id}
/
settings
Update Ledger Settings
curl --request PATCH \
  --url https://ledger.sandbox.lerian.net/v1/organizations/{organization_id}/ledgers/{ledger_id}/settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "accounting": {
    "validateRoutes": true
  }
}
'
{
  "accounting": {
    "validateAccountType": false,
    "validateRoutes": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string

The authorization token. This header is required if your environment has Access Manager enabled.

Content-Type
string

The type of media of the resource. Recommended value is application/json.

X-Request-Id
string<uuid>

A unique identifier used to trace and track each request.

Path Parameters

organization_id
string
required

The unique identifier of the Organization associated with the Ledger.

ledger_id
string
required

The unique identifier of the associated Ledger.

Body

application/json

Partial update for Ledger settings. Uses deep merge — only the fields you include are changed.

accounting
object

Accounting-related settings for the Ledger.

Response

Indicates that the request was successful and the settings were updated.

The current settings of a Ledger.

accounting
object

Accounting-related settings for the Ledger.