# How do i control the access to api management in Auth0 according to user previleges?

**URL:** <https://community.auth0.com/t/how-do-i-control-the-access-to-api-management-in-auth0-according-to-user-previleges/106241>\
**Category:** Get Help\
**Tags:** grants, management-api\
**Created:** [May 5, 2023, 9:53am UTC](https://community.auth0.com/t/how-do-i-control-the-access-to-api-management-in-auth0-according-to-user-previleges/106241 "2023-05-05T09:53:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kkhanal](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kkhanal/32/46029_2.png) [@kkhanal](https://community.auth0.com/u/kkhanal)\
**Post date:** [May 5, 2023, 9:53am UTC](https://community.auth0.com/t/how-do-i-control-the-access-to-api-management-in-auth0-according-to-user-previleges/106241/1 "2023-05-05T09:53:07Z")

</div>

I am developing my own portal for user management. How do i restrict the user with less privelege (custom scope) to modify another user’s profile who has high privilege (custom scope).

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [May 5, 2023, 10:59pm UTC](https://community.auth0.com/t/how-do-i-control-the-access-to-api-management-in-auth0-according-to-user-previleges/106241/3 "2023-05-05T22:59:09Z")

</div>

Hey there @kkhanal !

I assume you are planning on performing these actions on your backend using [Management API access tokens](https://auth0.com/docs/secure/tokens/access-tokens/management-api-access-tokens)? I imagine the easiest way to handle this would be to implement logic on your backend to decide what a user can or cannot do and then use a Management API access token via some sort of [management client](https://github.com/auth0/node-auth0#management-api-client) to carry out the allowed actions (based on the scopes of users).

Keep us posted!

---

<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:** [December 22, 2023, 11:59pm UTC](https://community.auth0.com/t/how-do-i-control-the-access-to-api-management-in-auth0-according-to-user-previleges/106241/4 "2023-12-22T23:59:35Z")

</div>

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