Assets
Update an asset
Change the data of an asset. Send only the fields that change.
PATCH
Update an asset
Authorizations
Body
application/json
A field you leave out stays as it is, and null clears it. The type data object and metadata merge key by key. Unknown fields inside the type data object, and type data for another type, are rejected. Unknown top-level fields are ignored. A different device is a new asset: add it and decommission the old one.
Response
The updated asset
- battery
- inverter
- solar
- wallbox
- heat_pump
- household_net
- household_residual
A device in a household, or one of the two assets Nomos creates per household. It carries the type data object named like its type, with every field present and null where unknown.