> For the complete documentation index, see [llms.txt](https://docs.sonarsource.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonarsource.com/sonarqube-server/10.8/instance-administration/user-management/changing-user-password.md).

# Changing user password

As a System Administrator, you can change the password of a user whose SonarQube Server account is not tied to a third-party identity provider.

## Changing the password in the UI <a href="#ui" id="ui"></a>

1. In **Administration > Security > Users**, [Viewing user accounts](/sonarqube-server/10.8/instance-administration/user-management/viewing-users.md).
2. In the user’s **Actions** column, select the three-dot menu.
3. Select **Enter a new password**.

{% hint style="info" %}
You cannot change any user password in the UI (even of user accounts not tied to a third-party provider) if your system has enabled automatic provisioning mode.
{% endhint %}

## Changing the password through the API <a href="#api" id="api"></a>

Use the web service [`api/users/change_password`](https://next.sonarqube.com/sonarqube/web_api/api/users/change_password).

## Related pages <a href="#related-pages" id="related-pages"></a>

* [Creating users manually](/sonarqube-server/10.8/instance-administration/user-management/creating-users.md)
* [Deactivating users](/sonarqube-server/10.8/instance-administration/user-management/deactivating-users.md)
* [Administering tokens](/sonarqube-server/10.8/instance-administration/user-management/administering-tokens.md)
* [Overview](/sonarqube-server/10.8/instance-administration/authentication/overview.md)
* [Changing password](/sonarqube-server/10.8/user-guide/managing-your-account/changing-password.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sonarsource.com/sonarqube-server/10.8/instance-administration/user-management/changing-user-password.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
