 
     # Device management
     'device/': post: [utils.checkPermissionsFactory('device'), devices.create]
-    'device/:id/': del: [
+    'device/:id/': delete: [
         utils.checkPermissionsFactory('device')
         utils.lockRequest
         utils.getDoc

    ]
    'data/:id/attachments/:name':
        get: [utils.getDoc, utils.checkPermissionsByDoc, attachments.get]
        del: [
            utils.lockRequest
            utils.getDoc
            utils.checkPermissionsByDoc

    ]
    'data/:id/binaries/:name':
        get: [utils.getDoc, utils.checkPermissionsByDoc, binaries.get]
        delete: [
            utils.lockRequest
            utils.getDoc
            utils.checkPermissionsByDoc
