         ]
     'data/search/:type': post: [utils.checkPermissionsByType, indexer.search]
     'data/search/': post: [utils.checkPermissionsFactory('all'), indexer.search]
-    'data/index/clear-all/': delete: [
-        utils.checkPermissionsFactory('all')
-        indexer.removeAll
-    ]
 
     # Mail management
     'mail/': post: [utils.checkPermissionsFactory('send mail'), mails.send]

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

    ]

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

    'data/index/:id':
        post: [
            utils.lockRequest
