Skip to main content
PUT
Update fixed asset class
Send the full class, including every book default you want to keep. An account you omit is cleared. When you omit book_defaults, the list is empty and the stored defaults are removed.

Authorizations

X-API-KEY
string
header
required

Headers

Idempotency-Key
string

Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.

Maximum string length: 255

Path Parameters

fixed_asset_class_id
integer
required

Body

application/json
name
string
required
Maximum string length: 255
status
enum<string>
default:active
Available options:
active,
archived
company_id
integer | null
asset_account_id
integer | null
expense_account_id
integer | null
accumulation_account_id
integer | null
book_defaults
FixedAssetClassBookDefaultSchemaIn · object[]

Response

OK

id
integer
required
name
string
required
status
string
required
book_defaults
FixedAssetClassBookDefaultSchemaOut · object[]
required
company_id
integer | null
asset_account_id
integer | null
expense_account_id
integer | null
accumulation_account_id
integer | null