@will, I’m not sure about that.
The API might accept both but for CLI (about which Benzi asked) I also get a Permission denied with the device name but the device ID works.
I’ve tested with 1.15.0
C:\Users\Andy>particle call ScruffyG3 restart now
Function call failed Permission Denied
C:\Users\Andy>particle call 2c...32 restart now
-1
C:\Users\Andy>particle call ScruffyG3 restart now
Function call failed Permission Denied
@Benzi, have you actually tested with device name again?
Hi there, yes, I tested with device name and ID, and in both cases, it works.
Turns out my original call had the word ‘device’ in there before the name or ID and once removed, it worked.