dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #29383
Re: Query regarding /api/users
>
>
> 1. Is there an any way to delete a user using the API?
>
> You should be able to delete a user by doing a DELETE request to
/api/users/UID in 2.15, be aware that there might be some foreign keys etc
getting in the way, so another solution might be to disable the user
>
> 1. We want "admin" user to update the details of other users using the
> API. Currently it requires the password of the user which is getting
> updated. Without the user's password, "admin" can't do an update. Is there
> any other way to do it?
>
> Currently, no.. but it should be trivial to include a parameter,
"ignorePassword" or something like that.. that would simply continue using
the old password, feel free to provide a patch :-)
--
Morten
>
> 1.
>
>
> If the community feels both these cases are general enough to be included
> in DHIS, we would like to submit patches in case this functionality is not
> available.
>
>
>
> Thanks,
> Mahendra
> *Thought*Works
>