# Authorization extension api documentation bug

**URL:** <https://community.auth0.com/t/authorization-extension-api-documentation-bug/16361>\
**Category:** Get Help\
**Tags:** api-authorization, authorization-extens, documentation\
**Created:** [October 5, 2018, 7:01am UTC](https://community.auth0.com/t/authorization-extension-api-documentation-bug/16361 "2018-10-05T07:01:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joost](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/joost/32/9154_2.png) [@joost](https://community.auth0.com/u/joost)\
**Post date:** [October 5, 2018, 7:01am UTC](https://community.auth0.com/t/authorization-extension-api-documentation-bug/16361/1 "2018-10-05T07:01:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 26, 2018, 8:41am UTC](https://community.auth0.com/t/authorization-extension-api-documentation-bug/16361/3 "2018-10-26T08:41:32Z")

</div>

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: [Auth0: Secure access for everyone. But not just anyone.](https://auth0.com/feedback)

Thanks a lot @joost one more time! 🙏🏼

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 30, 2018, 11:34am UTC](https://community.auth0.com/t/authorization-extension-api-documentation-bug/16361/4 "2018-10-30T11:34:15Z")

</div>

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

> [@Authorization extension api documentation bug](http://community.auth0.com/t/authorization-extension-api-documentation-bug/16361):
>
> 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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 29, 2018, 11:34am UTC](https://community.auth0.com/t/authorization-extension-api-documentation-bug/16361/5 "2018-11-29T11:34:16Z")

</div>

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