[deepamehta-devel] REST API - Change User Password

Jörg Richter jri at deepamehta.de
Mon Jan 18 14:51:22 CET 2016

Hi JuergeN,

to change the password of an user account:

    curl -X PUT http://localhost:8080/core/topic/1234 -H Content-Type:application/json -d '{
        childs: {
            dm4.accesscontrol.password: "-SHA256-a665a45920422f9d417e4867efdc4fb8..."

Here 1234 is the ID of the User Account topic whose password is to be changed.
The password is the SHA-256 hash of the plain text password, preceded by "-SHA256-".

This request is allowed only for the account owner.
You have to authenticate the request, either by an "Authorization" header, or a "Cookie" header containing a JSESSIONID.

Let me know if you need further info.


On Jan 18, 2016, at 14:10, Juergen Neumann wrote:

> Dear Jörg,
> how do I change a user's password via REST API?
> Thank you very much in advance!
> JuergeN
> -- 
> GnuPG KeyID: CD914C6C
> Fingerprint: C1CC EF1D 1443 7279 72E7 ABDC A2DA 0328 CD91 4C6C
> -- 
> devel mailing list
> devel at lists.deepamehta.de
> http://lists.deepamehta.de/mailman/listinfo/devel-lists.deepamehta.de

More information about the devel mailing list