Update Ledger Account Category

patch/ledger_account_categories/{id}

Request

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

Path parameters

idstring required

The ID of the ledger account category

Request body

namestring

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

descriptionstring

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

metadatastring json
external_idstring

An optional user-defined 180 character unique identifier

Response

200

idstring
objectstring
live_modeboolean
namestring
ledger_idstring
descriptionunknown
normal_balancestring
metadataobject
discarded_atunknown
created_atstring
updated_atstring

Example response

{
  "id": "ac665222-02ef-47da-a7bd-376ba0e882ed",
  "object": "ledger_account_category",
  "name": "Customer Accounts",
  "ledger_id": "fe96565f-4b9c-4871-8fb0-e6f02683458e",
  "normal_balance": "credit",
  "balances": {
    "pending_balance": {
      "currency": "USD",
      "currency_exponent": 2
    },
    "posted_balance": {
      "currency": "USD",
      "currency_exponent": 2
    },
    "available_balance": {
      "currency": "USD",
      "currency_exponent": 2
    }
  },
  "created_at": "2022-11-01T21:34:13Z",
  "updated_at": "2022-11-01T21:34:13Z"
}

Changes

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