# Assigning management API permissions to role

**URL:** <https://community.auth0.com/t/assigning-management-api-permissions-to-role/75395>\
**Category:** Get Help\
**Tags:** roles\
**Created:** [December 23, 2021, 12:43pm UTC](https://community.auth0.com/t/assigning-management-api-permissions-to-role/75395 "2021-12-23T12:43:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheFoolishPupil](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thefoolishpupil/32/33987_2.png) [@TheFoolishPupil](https://community.auth0.com/u/TheFoolishPupil)\
**Post date:** [December 23, 2021, 12:43pm UTC](https://community.auth0.com/t/assigning-management-api-permissions-to-role/75395/1 "2021-12-23T12:43:02Z")

</div>

Hey there, I am building an admin dashboard where I need to have a user that is able to send invitations to, and delete members from, the organization they belong to. I am attempting to create a role and assign it the required permissions from the management API, however I can’t seem to be able to select the Management API when prompted upon assigning permissions to the role.

How can I best use the management api from my application to enable organization based member permissions? Any help is greatly appreciated 🙂

---

<div class="post-metadata">

**Author:** ![rvdberg](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rvdberg/32/14206_2.png) [@rvdberg](https://community.auth0.com/u/rvdberg)\
**Post date:** [December 23, 2021, 5:07pm UTC](https://community.auth0.com/t/assigning-management-api-permissions-to-role/75395/2 "2021-12-23T17:07:40Z")

</div>

Hey there!

I believe the scopes for the Auth0 Management API for a user-based flow (non Machine2Machine) are limited to what is described in the SPA documentation: [Get Management API Access Tokens for Single-Page Applications](https://auth0.com/docs/security/tokens/access-tokens/get-management-api-tokens-for-single-page-applications)

A good option would be to add your own backend/middleware to handle the business logic you need and have that service retrieve an access token for the API with scopes for itself through a ClientCredential flow.

Hope it helps!

---

<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:** [December 24, 2021, 7:33am UTC](https://community.auth0.com/t/assigning-management-api-permissions-to-role/75395/3 "2021-12-24T07:33:58Z")

</div>

Thanks for helping on this one @rvdberg !

---

<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:** [January 8, 2022, 7:34am UTC](https://community.auth0.com/t/assigning-management-api-permissions-to-role/75395/4 "2022-01-08T07:34:34Z")

</div>

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