Removed unused API endpoint: POST /users (#9052)

no issue

- this endpoint does not exist anymore
- if you want to add a new user, you have to invite him via the invites API
- on invite accept, the user is inserted
This commit is contained in:
Katharina Irrgang 2017-09-25 17:58:14 +02:00 committed by Kevin Ansfield
parent ec6e25674c
commit 472858f262

View File

@ -62,8 +62,6 @@ module.exports = function apiRoutes() {
apiRouter.put('/users/password', mw.authenticatePrivate, api.http(api.users.changePassword));
apiRouter.put('/users/owner', mw.authenticatePrivate, api.http(api.users.transferOwnership));
apiRouter.put('/users/:id', mw.authenticatePrivate, api.http(api.users.edit));
apiRouter.post('/users', mw.authenticatePrivate, api.http(api.users.add));
apiRouter.del('/users/:id', mw.authenticatePrivate, api.http(api.users.destroy));
// ## Tags