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
assetId
Request
This endpoint expects an object.
name
type
Asset type enum.
status
Asset lifecycle status.
Allowed values:
manufacturer
model
serialNumber
size
labelIds
Replaces the asset's label list.
installDate
manufacturingDate
expectedLifetime
Expected lifetime in years
description
coverImageFileId
nameplateImageFileId
isArchived
Response
Asset updated successfully
id
Asset identifier.
status
Asset lifecycle status.
Allowed values:
siteId
labels
Labels attached to the asset, ordered by position.
isArchived
uid
Short human-readable identifier for the asset (nullable for older records).
name
type
Asset type enum.
manufacturer
model
serialNumber
accountId
ID of the account (project with type ACCOUNT) the asset belongs to.
size
installDate
manufacturingDate
expectedLifetime
Expected lifetime in years
description
coverImageFileId
nameplateImageFileId
createdAt
updatedAt
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
