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