injected service use to handle the user related operations
injected logger used to handle the logging
request context [headers, body, params, query]. Note:
params.userId
is required204 Status No Content
This handler will lock user by applying the following steps in sequence:
Get userId from context.params
Lock user (userService.lockUser)
Error
500 NBError Internal Server Error
Generated using TypeDoc
Lock user handler