# 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-users](https://docs.sonarsource.com/sonarqube-server/10.8/instance-administration/user-management/viewing-users "mention").
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](https://docs.sonarsource.com/sonarqube-server/10.8/instance-administration/user-management/creating-users "mention")
* [deactivating-users](https://docs.sonarsource.com/sonarqube-server/10.8/instance-administration/user-management/deactivating-users "mention")
* [administering-tokens](https://docs.sonarsource.com/sonarqube-server/10.8/instance-administration/user-management/administering-tokens "mention")
* [overview](https://docs.sonarsource.com/sonarqube-server/10.8/instance-administration/authentication/overview "mention")
* [changing-password](https://docs.sonarsource.com/sonarqube-server/10.8/user-guide/managing-your-account/changing-password "mention")


---

# Agent Instructions: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
