The Endpoint /Role keeps showing 403 forbidden

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nachiketrakhonde
    Junior Member
    • Aug 2025
    • 1

    #1

    The Endpoint /Role keeps showing 403 forbidden

    I am able to fetch all User and Teams
    I have also given all necessary permissions to API Key but there seems to be a problem while fetching all Roles.
    Is there any way we can solve this problem
  • lazovic
    Super Moderator
    • Jan 2022
    • 1145

    #2
    Hi nachiketrakhonde,

    Do you want to get a list of roles using the API key of the API user?
    Please note that an API user with any role (even with maximum access for him) will not be able to access roles in the system.

    Comment

    • yuri
      EspoCRM product developer
      • Mar 2014
      • 9295

      #3
      Roles are intended for access control purpose only, there are not available for non-admin users. I recommend to reconsider and use some other field – the Teams or a custom field.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      Working...