200Successful Response
Schema: app__core__success__MessageResponse
successbooleanmessagestringcodestring
/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.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
asset_idstringrequiredforcebooleandefault: FalseAlso delete posted depreciation entries and every journal entry posted for this asset (capitalization, depreciation, disposal). Use when the asset was set up by mistake.
Schema: app__core__success__MessageResponse
successbooleanmessagestringcodestringSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject