English
cURL
curl --request GET \ --url https://{tenantDomain}/my-org/members/{user_id}/roles \ --header 'Authorization: Bearer <token>'
{ "roles": [ { "id": "rol_SO2j0sFo9NFa3F9w", "name": "role1", "description": "role1 description" }, { "id": "rol_BO2j1sFo9NFa3F9w", "name": "role2", "description": "role2 description" } ] }
Retrieve the roles for a single member.
The access token received from the authorization server in the OAuth 2.0 flow.
The user ID.
Retrieved memeber roles successfully.
The response is of type object.
object