Device Data
Edit Data
Edit specific data stored in the device. Same properties as the Create Data is accepted, edit requires the ID field of the data to be edited.
:::info
This request is only available when using Mutable Storage on Devices
:::
put/data
Request
- Base URLhttps://api.us-e1.tago.io
- AuthAPI key in header Device-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
[
{
"id": "6298fcc3e0b6840012bb6abfa",
"metadata": {
"color": "blue"
},
"value": "27"
}
]Response
Editing data register by ID
Example response
{
"result": "1 item(s) updated",
"status": true
}Changes
No recorded changes to this operation across all 2 revisions of this API.