Unnamed devices added to dashboard while testing REST API


#1

Hey Guys,

I’ve been playing with the REST API via C# and I have what I need working but I just noticed that my dashboard device list now has eleven unnamed devices. We should only have 4 (these 4 are named)

Any idea how this could happen?

Also, How can I delete them as the are polluting the results on the api/1devices call.

Thanks!

  • rock

Create empty device
#2

Hello,
If you do a POST to /devices it’ll create an empty device without an associated SIM. That’s probably what happened. We have this functionality so you can generate a device to use with our cloud without needing a SIM card.

To get rid of them, simply issue a DELETE call to /devices/<id>


#3

Thanks Reuben,

That’s sounds like the issue. I was mistakenly POSTing to /devices instead of issuing GETs.

It would be very handy to be able to delete device via the Dashboard.

  • rock

#4

Yep, we’ll be adding that functionality to the dashboard soon.