Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update User #166

Open
buzzzo opened this issue May 19, 2024 · 1 comment
Open

Update User #166

buzzzo opened this issue May 19, 2024 · 1 comment
Labels
question Further information is requested

Comments

@buzzzo
Copy link

buzzzo commented May 19, 2024

Hi

What is the EXACT syntax to update user ?
Do we specify all the payload or could we just specify one field ?

Could someone post an example with a curl call ?

I'm just trying something like:
json='{"profile": {"mobile": "123456"}}'

curl https://x.y.z.j/api/v1/user/4
-H "Accept: application/json" -H "Authorization: Bearer $token"
-d '$json' --request PUT

but i've receive:

"code":500,"message":"Internal error while save user!"}

Thx

@luke- luke- added the question Further information is requested label May 19, 2024
@Reuns
Copy link

Reuns commented Jul 1, 2024

I'm also interested.
I tried to update a few profile fields and I don't have any error message.
I have for answer just the content of the user information, but no change are made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants