Skip to main content

Get roles for currently logged in user

GET 

<your-unleash-url>/api/admin/user/roles

Gets roles assigned to currently logged in user. Both explicitly and transitively through group memberships

Request

Responses

rolesSchema

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L '<your-unleash-url>/api/admin/user/roles' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Parameters
— query
ResponseClear

Click the Send API Request button above and see the response here!