Skip to content

Setting asset parameters

Set configuration parameters in your assets. The Teleport devices involved in the request will pass the parameters on to the assets.


REQUEST
method + URL
PUT https://api.teleport.withthegrid.com/v1/parameters/
body (in TS)
{
parameters: SagerFurnace | DemoBattery;
assetIdentifiers: string[];
}
body details
parameters
A single asset parameter object that should be applied to the asset.
assetIdentifiers
1 to 100 elements.
RESPONSE
successful responses
204
Parameters are received by the cloud and will be sent to the specified Teleport device(s). Devices that are offline will receive the parameters when they come back online.
error responses (next to generic errors)
400 { key: "unknown_identifier" }
Asset identifier is unknown.