# Is there a way to permit an M2M on the management API to read only user info without user metadata?

**URL:** <https://community.auth0.com/t/is-there-a-way-to-permit-an-m2m-on-the-management-api-to-read-only-user-info-without-user-metadata/88423>\
**Category:** Get Help\
**Created:** [August 9, 2022, 3:09pm UTC](https://community.auth0.com/t/is-there-a-way-to-permit-an-m2m-on-the-management-api-to-read-only-user-info-without-user-metadata/88423 "2022-08-09T15:09:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![david27](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/david27/32/36319_2.png) [@david27](https://community.auth0.com/u/david27)\
**Post date:** [August 9, 2022, 3:09pm UTC](https://community.auth0.com/t/is-there-a-way-to-permit-an-m2m-on-the-management-api-to-read-only-user-info-without-user-metadata/88423/1 "2022-08-09T15:09:02Z")

</div>

Hi,

I want my backend which uses the management API to be permitted to read only the users’ information without the users’ app metadata.

I created an M2M app and defined the permissions for the Auth0 management API only to `read:users` without the `read:users_app_metadata` permission.  
But with this permission, I was still able to read the whole user data including the user’s app metadata.

Is there a way to limit the permissions to be able to read users without the app metadata?

Alternatively, if I define only the `read:users_app_metadata` permission, which endpoint do I use to retrieve **only** the user’s app metadata? This permission is not sufficient to call the get\_users endpoint so which endpoint this permission is good to?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [August 29, 2022, 6:03pm UTC](https://community.auth0.com/t/is-there-a-way-to-permit-an-m2m-on-the-management-api-to-read-only-user-info-without-user-metadata/88423/3 "2022-08-29T18:03:16Z")

</div>

Hi @david27,

Welcome to the Auth0 Community!

I understand that you are looking for a way to use the Management API to read the user’s profile without the user’s app\_metadata.

Unfortunately, it is not possible to get the user’s profile without the app\_metadata. That is, the app\_metadata will always be a part of the user profile response.

When using the Management API, the Access Token used for making requests will always contain all the scopes (permissions) and cannot be modified.

Instead, please use the Authentication API [/userinfo endpoint](https://auth0.com/docs/api/authentication#get-user-info) to get the user profile without the app\_metadata. If needed, the app\_metadata can be added separately using a [Auth0 Action](https://auth0.com/docs/customize/actions/flows-and-triggers/login-flow#add-user-roles-to-id-and-access-tokens).

I hope this helps!

Please let me know if you have any questions.

Thank you.

---

<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 21, 2022, 5:27pm UTC](https://community.auth0.com/t/is-there-a-way-to-permit-an-m2m-on-the-management-api-to-read-only-user-info-without-user-metadata/88423/4 "2022-12-21T17:27:23Z")

</div>


