API Version 3
cURL
curl --request GET \ --url https://paradigm.lighton.ai/api/v3/users/{id}/roles \ --header 'Authorization: Bearer <token>'
{ "id": 123, "username": "<string>", "first_name": "<string>", "last_name": "<string>", "email": "<string>", "roles": [ { "name": "<string>", "id": 123 } ] }
This endpoint allows you to list the roles of a company member.
It is restricted to admin and company admin users.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the user.
Show child attributes