Update Asset

Update an existing asset. All fields are optional — only include what you want to change. `siteId` and `accountId` cannot be changed after creation. Including either field in the request body is rejected with a `400 Bad Request` validation error. To archive an asset, set `isArchived: true`. To unarchive, set `isArchived: false`.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

assetIdstringRequired

Request

This endpoint expects an object.
namestringOptional
typeenumOptional
Asset type enum.
statusenumOptional
Asset lifecycle status.
Allowed values:
manufacturerstringOptional
modelstringOptional
serialNumberstringOptional
sizedoubleOptional
labelIdslist of integersOptional
Replaces the asset's label list.
installDatestring or nullOptionalformat: "date"
manufacturingDatestring or nullOptionalformat: "date"
expectedLifetimedoubleOptional
Expected lifetime in years
descriptionstringOptional
coverImageFileIdintegerOptional
nameplateImageFileIdintegerOptional
isArchivedbooleanOptional

Response

Asset updated successfully
idinteger
Asset identifier.
statusenum
Asset lifecycle status.
Allowed values:
siteIdinteger
labelslist of objects
Labels attached to the asset, ordered by position.
isArchivedboolean
uidinteger or null

Short human-readable identifier for the asset (nullable for older records).

namestring or null
typeenum or null
Asset type enum.
manufacturerstring or null
modelstring or null
serialNumberstring or null
accountIdinteger or null

ID of the account (project with type ACCOUNT) the asset belongs to.

sizedouble or null
installDatestring or nullformat: "date"
manufacturingDatestring or nullformat: "date"
expectedLifetimedouble or null
Expected lifetime in years
descriptionstring or null
coverImageFileIdinteger or null
nameplateImageFileIdinteger or null
createdAtstringformat: "date-time"
updatedAtstringformat: "date-time"

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error