Setting Device Name

How to set device name with Particle-JS? I have done softap-setup and claim the new device. How do I set the Device_Name in Particle Cloud?

Checking the docs really doesn’t hurt…
https://docs.particle.io/reference/javascript/#renamedevice

1 Like