Re: [Dhis2-devs] Update User Password Via Web API

2018-03-26 Thread Farai Mutero
Hi Morten Yes absolutely. This is the payload that I'm sending : { "id": "ogzPPGeR3je", "name": "Joe Soap", "displayName": "Joe Soap", "surname": "Soap", "firstName": "Joe", "userCredentials": { "id": "l0LtVrLx9rn", "username": "", "password":"Passw

Re: [Dhis2-devs] Update User Password Via Web API

2018-03-26 Thread Morten Olav Hansen
What you provide here is just the summary report... To change a password, you need to add "password" field to the "userCredentials" part of the payload... are you doing that? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Mon, Mar 26, 2018 at 6:25 PM, F

[Dhis2-devs] Update User Password Via Web API

2018-03-26 Thread Farai Mutero
Hi All We are looking at automating the process of resetting of a user's password when the password expires I'm trying to update the user password via the WebAPI. I carefully prepare the payload as dictated by the documentation and the API sends back a response as below that the user has been upd