Hi everyone, is there a way to update a user's `lo...
# gooddata-platform
c
Hi everyone, is there a way to update a user's
login
property? I noticed that when trying to update a user's
email
calling the following endpoint
PUT /gdc/account/profile/{profileId}
(https://help.gooddata.com/doc/free/en/expand-your-gooddata-platform/api-reference/#operation/updateUserProfile) it doesn't update the user's
login
property. When I tried to also include the
login
property inside the
accountSettings
I got 400
{"wrongProfileUpdate":{"loginChange":1}}
.
f
Hi Christos, if you check on the Create a user call, it explains how
login (string in the format of an email address) is the user login. Once created, this property cannot be updated.
So the only way to change the login object would be to delete the user and then recreate them with the correct login.
🙌 1
c
thank you! I missed that comment 😅
🙌 1