How to get user roles and permissions in a single API call using Management API

Is there a way to get the user along with the roles and permissions attached to it in a single API call using Management API?

I managed to get the user role after the successful authentication on our frontend app using Rules

I’m wondering if there was a way to get user, assigned role and permissions in one API call using Management API.

Any help will be appreciated.

Thank you.

Unfortunately we have two separate endpoints for roles and permissions:

  • Roles
  • Permissions

You can always file a feature request for that using our Feedback category here: