dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #50982
User password reset through API
Hello Experts
Hope you are all enjoying Easter.
I am trying to reset/update password through API. Is it possible to send
PUT request with jason payload with only ID, username and password? I use
curl -X PUT -u user:pass -d @u.json -H "Content-Type: application/json"
https://server/api/26/users/ID
I am getting following error:
{"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"org.hisp.dhis.user.User
does not exist: ID"}
Please advice.
Regards
--
Muhammad Abdul Hannan Khan
Team Leader
Support to the National HMIS
MIS, Director General of Health Service
Ministry of Health and Family Welfare
T +880-2- 58816459, 58816412 ext 118
F +88 02 58813 875
M+88 01819 239 241
M+88 01534 312 066
E hannank@xxxxxxxxx
S hannan.khan.dhaka
B hannan-tech.blogspot.com
L https://bd.linkedin.com/in/hannankhan
Follow ups