Update Ledger

patch/ledgers/{id}

Request

  • Base URL
    https://app.moderntreasury.com/api
  • URL
    https://app.moderntreasury.com/api/ledgers/{id}
  • Auth
    HTTP basic

Path parameters

idstring required

The ID of the ledger.

Request body

namestring

The name of the ledger. Maximum of 1000 characters allowed.

descriptionstring

An optional free-form description for internal use. Maximum of 1000 characters allowed.

metadatastring json

Response

200

idstring
objectstring
live_modeboolean
namestring
descriptionunknown
metadataobject
discarded_atunknown
created_atstring
updated_atstring

Example response

{
  "id": "641e15b7-a326-44b1-9ed2-536cd327101b",
  "object": "ledger",
  "name": "Customer Ledger",
  "created_at": "2022-11-01T20:50:56Z",
  "updated_at": "2022-11-01T20:54:22Z"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.