We have freshly installed Gitlab CE on CentOS 8. Its’ asking to change password in accessing GitLab instance in browser. As part of automation installation of GitLab CE, we don’t want change password in browser. So we tried to change root password through rest api and get 200 reponse code.
PUT /api/v4/users/1 where 1 is ID of root user.
When trying to access gitlab instance in browser after successfully resetting root password, it is still asking to change password.
My question is
- Through REST API, how do I reset root password after fresh deployment of GitLAb instance? We would like to use new password passed in rest api as root logging password.