Hi,
Is there any way to retrieve user roles and permissions via Rest API of Adobe commerce?
We are not able to find any such API through which we can fetch details of the user and its roles.
Let me know!
Thanks!
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi,
I’m not sure about the exact level of detail you’re looking for or which user details you're trying to retrieve, but you might want to explore the User Management API: https://adobe-apiplatform.github.io/umapi-documentation/en/API_introduction.html.
For reference, here are the available Adobe Commerce APIs: https://developer.adobe.com/commerce/webapi/rest/use-rest/.
Hope this helps
Hi @SanoojPa ,
AFAIK, Adobe Commerce (Magento) doesn't provide a direct REST API to retrieve user roles and permissions. However, you can create a custom API endpoint to fetch this data by querying Magento's internal tables or using Magento's Authorization classes.
To retrieve roles and permissions, you'd need to extend Magento with custom code.
Thanks
Ritesh Mittal
Hi,
I’m not sure about the exact level of detail you’re looking for or which user details you're trying to retrieve, but you might want to explore the User Management API: https://adobe-apiplatform.github.io/umapi-documentation/en/API_introduction.html.
For reference, here are the available Adobe Commerce APIs: https://developer.adobe.com/commerce/webapi/rest/use-rest/.
Hope this helps
@SanoojPa Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Like
Replies