<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to DeleteDeviceModel</title><link>https://sourceforge.net/p/m2mlabs/wiki/DeleteDeviceModel/</link><description>Recent changes to DeleteDeviceModel</description><atom:link href="https://sourceforge.net/p/m2mlabs/wiki/DeleteDeviceModel/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 22 Sep 2012 20:33:54 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/m2mlabs/wiki/DeleteDeviceModel/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage DeleteDeviceModel modified by Jim</title><link>https://sourceforge.net/p/m2mlabs/wiki/DeleteDeviceModel/</link><description>&lt;pre&gt;--- v2
+++ v3
@@ -15,7 +15,7 @@
 Errors:
 
 * 401 UNAUTHORIZED if key is invalid or not admin key
-* 404 Not Found if the sensor model does not exist
+* 404 Not Found if the device model does not exist
 
 Example
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim</dc:creator><pubDate>Sat, 22 Sep 2012 20:33:54 -0000</pubDate><guid>https://sourceforge.net332fcbce2dad074925d3f575c32abdfc5486ad72</guid></item><item><title>WikiPage DeleteDeviceModel modified by Jim</title><link>https://sourceforge.net/p/m2mlabs/wiki/DeleteDeviceModel/</link><description>&lt;pre&gt;--- v1
+++ v2
@@ -2,7 +2,7 @@
 
 deletes a device model in the namespace of the owner identified by the apikey
 
-##### ! all devices using the device model can not be accesses anymore #####
+##### ! all devices using the device model can not be accessed anymore #####
 
 Path: cs-ws/resources/admin/devicemodel        Method: DELETE
 Alternative: cs-ws/resources/admin/devicemodel/delete       Method: POST
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim</dc:creator><pubDate>Sat, 22 Sep 2012 20:09:15 -0000</pubDate><guid>https://sourceforge.net7173083756d6b16e17d5fb34bce7a0bf44eeafbc</guid></item><item><title>WikiPage DeleteDeviceModel modified by Jim</title><link>https://sourceforge.net/p/m2mlabs/wiki/DeleteDeviceModel/</link><description>### Delete Device Model ###

deletes a device model in the namespace of the owner identified by the apikey

##### ! all devices using the device model can not be accesses anymore #####

Path: cs-ws/resources/admin/devicemodel        Method: DELETE
Alternative: cs-ws/resources/admin/devicemodel/delete       Method: POST

Parameters

* devicemodel_name
* apikey

Errors:

* 401 UNAUTHORIZED if key is invalid or not admin key
* 404 Not Found if the sensor model does not exist

Example

~~~~~~
DELETE http://localhost/cs-ws/resources/admin/devicemodel
?devicemodel_name=MyTemperatureDeviceModel&amp;apikey=1234 HTTP/1.1

HTTP/1.1 200 OK
~~~~~~</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim</dc:creator><pubDate>Sat, 22 Sep 2012 18:59:31 -0000</pubDate><guid>https://sourceforge.netbd7978dcd383b75809cad988c6a79433e0c7895b</guid></item></channel></rss>