Menu

DeleteDeviceModel

Jim

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 accessed 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 device model does not exist

Example

DELETE http://localhost/cs-ws/resources/admin/devicemodel
?devicemodel_name=MyTemperatureDeviceModel&apikey=1234 HTTP/1.1

HTTP/1.1 200 OK

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.