     ]
 
     # Indexer management
+    'data/index/clear-all/':
+        'delete': [
+            utils.checkPermissionsFactory('all')
+            indexer.removeAll
+        ]
+
     'data/index/:id':
         post: [
             utils.lockRequest

            indexer.index
            utils.unlockRequest
        ]
        delete: [
            utils.lockRequest
            utils.getDoc
            utils.checkPermissionsByDoc

        ]
    'data/search/:type': post: [utils.checkPermissionsByType, indexer.search]
    'data/search/': post: [utils.checkPermissionsFactory('all'), indexer.search]

    # Mail management
    'mail/': post: [utils.checkPermissionsFactory('send mail'), mails.send]
