Auth0 Home Blog Docs

Authorization extension api documentation bug

authorization-extens
documentation
api-authorization

#1

Hi there,

I was working with the authorization extension API in particular adding and removing users from roles. Here I found a small fault in the documentation for removing a user from roles.
The URL mentioned in the docs is “/users/{role_id}/roles” I assume that this should be “/users/{user_id}/roles” and the roles to remove in the payload. This is what I am using and seems to work fine.

Regards,
Joost


#3

Hey @joost!

Great that you’ve caught it and that you were able to use it the right way! It will be great if you can report it to our feedback team as well as any future cases, as it will help us in providing more concise features and documentation to all our devs.

Here’s the link: https://auth0.com/feedback

Thanks a lot @joost one more time! :pray:t3:


#4

Hey there developers! :wave:t3: If any of you will need to use it, here’s the reference point (solution):


#5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.