PUT
/v2/administration/users/{userId}/enableEnable a server user
Enables a previously disabled server user account, restoring the user's ability to log in. Use this operation to reinstate access for an account that was disabled without deleting its data.
userIdintegerrequired
The integer identifier of the disabled server user to enable.
200Confirms that the server user was enabled.
400Returned when `userId` is invalid.
codestringrequired
paramsarray<object>optional
401Returned when the request is unauthenticated.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user lacks permission to manage server users.
codestringrequired
paramsarray<object>optional
404Returned when the specified server user is not found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when userId is invalid, a 401 when the request is unauthenticated, a 403 when the authenticated user lacks permission to manage server users, and a 404 when the user is not found. The userId path parameter must be an integer identifying a previously disabled server user.