Manage users api homeassistant

Hello, I am want to modify the password of a particular user from the API of Home Assistant I am not managing to be successful.
I am using the following endpoint: “conf/auth_provider/homeassistant/change_password”
I performed the external external from Python
Example:
await websocket.send(json.dumps({
“id”: 1,
“type”: “config/auth_provider/homeassistant/change_password”,
“username”: “username”,
“password”: “password”,
}))