-
I couldn't find any information on how can I update user roles via API programmaticaly?
-
@dan Please mark this as
Solved, I personally got confused at first and didn't click on it when I Googled this issue.So in the end the final solution for Client calls is the
patchRegistrationfunction call with theuserIdand aRegistrationRequestobject.patchRegistrationgot fixed here:
https://github.com/FusionAuth/fusionauth-issues/issues/441 -
@audrew31 I would be glad to have assist on that please
-
@audrew31 using the "Registrations" endpoint and updating the user's roles:
See here in docs: https://fusionauth.io/docs/v1/tech/apis/registrations#update-a-user-registration
The roles for a user are specific to the registration to an application. Hope that helps.
-
@support-0 thank you
-
@support-0 Thanks for helping out!
-
@dan Please mark this as
Solved, I personally got confused at first and didn't click on it when I Googled this issue.So in the end the final solution for Client calls is the
patchRegistrationfunction call with theuserIdand aRegistrationRequestobject.patchRegistrationgot fixed here:
https://github.com/FusionAuth/fusionauth-issues/issues/441 -
D dan has marked this topic as solved on
-
D dan moved this topic from Q&A on
-
D dan moved this topic from Frequently Asked Questions (FAQ) on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login