OpenapiPermission
Get user's roles
Returns all roles assigned to a specific user
GET
Returns all roles assigned to a specific user
userId*stringUser ID
Format
uuidUser's roles retrieved successfully
application/json- response
roles*array<>curl -X GET 'https://example.com/api/permission/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/roles'Example Response
{
"roles": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"realmId": "string"
}
]
}