You can remove a thing by deleting it from the Kii Cloud. Once the thing is deleted, the following information will be deleted:
All thing and owner information (note that the owners' Users and Groups are not deleted).
All data stored in the thing scope (buckets, objects and topics).
The following sample code shows how to delete a thing.
Android
iOS
Swift:
Objective-C:
JavaScript
// Instantiate a thing by vendor thing ID.KiiThing.loadWithVendorThingID("rBnvSPOXBDF9r29GJeGS",{success:function(thing){// Delete the thing.thing.deleteThing({success:function(theThing){// Do something.},failure:function(theThing,error){// Handle the error.}});},failure:function(error){// Handle the error.}});