Delete fixed asset

DELETE/api/v1/fixed-assets/{asset_id}

Delete a fixed asset.

Without force, an asset that has posted depreciation is rejected so depreciation expense is never left on the books unbacked. With force, the asset, its depreciation entries and all of its journal entries are removed together.

Operation ID: delete_fixed_asset_api_v1_fixed_assets__asset_id__delete·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

asset_idstringrequired

Query

forcebooleandefault: False

Also delete posted depreciation entries and every journal entry posted for this asset (capitalization, depreciation, disposal). Use when the asset was set up by mistake.

Responses

200Successful Response

successboolean
messagestring
codestring

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject