OpenapiUser
Get the current user's roles and permissions
Returns all roles (role names) and permissions (permission names) of the currently logged-in user. Returns the roles and permissions the user actually holds, without expanding the full set of realm permission definitions.
Returns all roles (role names) and permissions (permission names) of the currently logged-in user. Returns the roles and permissions the user actually holds, without expanding the full set of realm permission definitions.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/user/roles"{ "permissions": [ "string" ], "roles": [ "string" ]}{ "code": "string", "details": null, "message": "string", "requestId": "string", "status": 0}{ "code": "string", "details": null, "message": "string", "requestId": "string", "status": 0}