Node.js | Device
In order to modify, add, delete or do anything else with the data inside buckets, it is necessary to use the device function.
To set up a device object, you need a token (that you will need to get from our website). Be sure to use tokens with the correct write/read privileges for the current function that you want to use. For example, a token with only read privileges can’t create, modify or delete anything from a device.