cancel
Showing results for 
Search instead for 
Did you mean: 

Nuxeo api - How a user can update his own profile ?

Nicolas_Hoppeno
Champ in-the-making
Champ in-the-making

Hello,

It seems that only the users who belong to the group Administrator can update user profiles. But I would like to allow the authentified user to be able to update his own profile. How could I do that ?

I tried with the PUT request : curl -X PUT -H "Content-Type: application/json" -u userid:password -d "{ "entity-type": "user", "id":"userId", "properties":{"firstName":"John"}}" http://localhost:8080/nuxeo/api/v1/user/userid

and I'm getting a 403 forbidden error : {"entity-type":"exception","status":403,"message":"User is not allowed to edit users"}

Is there another endpoint to do that ?

Thanks in advance

1 REPLY 1

mejihad_
Champ on-the-rise
Champ on-the-rise

Hi Nicolas,

To achieve your need, your user must be a member of powerusers group. The inconvenient with this approach is your user can edit all informations of any other user !!

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.