cURL
curl --request POST \ --url http://{host}:{port}/{contextPath}/user/{id}/unlock \ --header 'Authorization: Basic <encoded-value>'
{ "type": "<string>", "message": "<string>", "code": 123 }
Unlocks a user by id.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The id of the user to be unlocked.
Request successful.