Accounting

Update or deactivate a class

patch/classes/{id}

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/classes/{id}
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Path parameters

idstring uuid required

Class UUID

Request body

codestring
namestring
parentIdstring uuid nullable
isActiveboolean

Response

{ data: Class }

Changes

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