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

    ]

    # Indexer management
    'data/index/:id':
        post: [
            utils.lockRequest

        ]
    '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]
