Re: [Dhis2-devs] User password reset through API

2018-04-01 Thread Melaeke Serawit
Hello, In that case from your error it seems that the user doesn't exist. First make sure that the Id you use in the api end point is correct and the user actually exists. (server/api/26/users/*userID). * But for updating the password part, the following json actually works on the demo server.

Re: [Dhis2-devs] User password reset through API

2018-04-01 Thread Melaeke Serawit
Hello, What kind of payload are you trying to send to the Server remember that the password and the username are under userCredentials and not directly under the user. so the payload should be like : { "userCredenttials":{ "id": "userCredentialsID_of_the_user_(Separate from the userID)",