Skip to main content
Participant
November 15, 2024
Answered

Unable to find users and user roles through Mangento Rest API

  • November 15, 2024
  • 2 replies
  • 255 views

Hi , 

I am using Magento Storefront admin Panel and trying to connect it with the Rest APIs .

I have generated the access token and it is working properly with other APIs

I want to find the user and user related roles through the API , these are the following endpoints which i found:

{{baseUrl}}/V1/company/role/:roleId/users

{{baseUrl}}/V1/company/role/:roleId

 

{{baseUrl}}/V1/company/?searchCriteria[filterGroups][0][filters][0][field]=<string>

 

whever i am trying to access this endpoints using the token that is required for authorization it is giving 

{
    "message": "Request does not match any route."
}
 
Please guide me if there's an API endpoint for company , users , roles in magneto and how to access it  to get the desired result
    This topic has been closed for replies.
    Correct answer jane-e

     

    quote

    I am using Magento Storefront admin Panel

    By @yash_4730

     

    I've moved your post from  Using the Community to Creative Cloud Services. The Magento Storefront appears to be part of Adobe Experience League.

    https://experienceleague.adobe.com/en/docs/commerce-admin/start/storefront/storefront

     

    Experience League is not part of the community forums. Try posting your question to the discussions page here:

    https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/bd-p/adobe-experience-manager-discussions

     

    Jane

     

    2 replies

    kglad
    Community Expert
    Community Expert
    November 15, 2024

    <and moved from cc services>

     

    addendum: @yash_4730  maybe i made an error.  are you the admin of a teams or enterprise subscription?

    jane-e
    Community Expert
    jane-eCommunity ExpertCorrect answer
    Community Expert
    November 15, 2024

     

    quote

    I am using Magento Storefront admin Panel

    By @yash_4730

     

    I've moved your post from  Using the Community to Creative Cloud Services. The Magento Storefront appears to be part of Adobe Experience League.

    https://experienceleague.adobe.com/en/docs/commerce-admin/start/storefront/storefront

     

    Experience League is not part of the community forums. Try posting your question to the discussions page here:

    https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/bd-p/adobe-experience-manager-discussions

     

    Jane