Get the name of a user's role using the Admin API
Q: How do I get the name of a user's role using the Admin API?
- Use the User Get One endpoint of the Admin API to get information about a user. Provide the user's ID. This will return the set of data associated with this user.
- One of these data entries will be
roleId
. Copy this value. - Paste the
roleId
value as a parameter to the Role Get One endpoint of the Admin API.
This will return the set of data associated with this role. One of these entries will be name
.
Updated 11 months ago