# Particle JS Unclaim Device?

**URL:** <https://community.particle.io/t/particle-js-unclaim-device/25395>\
**Category:** Cloud\
**Created:** [August 26, 2016, 11:01pm UTC](https://community.particle.io/t/particle-js-unclaim-device/25395 "2016-08-26T23:01:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mtun009](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@mtun009](https://community.particle.io/u/mtun009)\
**Post date:** [August 26, 2016, 11:01pm UTC](https://community.particle.io/t/particle-js-unclaim-device/25395/1 "2016-08-26T23:01:12Z")

</div>

is there such a thing as particle.unclaimDevice similar to particle.claimDevice?? Yes, I saw the document for curl command for uncliaming the device.

Thanks.

---

<div class="post-metadata">

**Author:** ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)\
**Post date:** [August 26, 2016, 11:18pm UTC](https://community.particle.io/t/particle-js-unclaim-device/25395/2 "2016-08-26T23:18:56Z")

</div>

I believe `particle.removeDevice` is what you want.

That does a HTTP DELETE on the /v1/devices/:deviceID endpoint like the unclaim a device example does.

---

<div class="post-metadata">

**Author:** ![mtun009](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@mtun009](https://community.particle.io/u/mtun009)\
**Post date:** [August 26, 2016, 11:20pm UTC](https://community.particle.io/t/particle-js-unclaim-device/25395/3 "2016-08-26T23:20:44Z")

</div>

Thank you so much @rickkas7.
