Checkio API
get/{tenantId}/v1/users/{userId}/roles

List user roles

Requires Authentication
Users

Returns roles assigned to a user

Path Parameters

NameTypeDescription
tenantId
required
string (uuid)Tenant UUID
userId
required
string (uuid)User UUID

Responses

List of roles

Response Bodyapplication/json
array
RoleListItem[]
RoleListItem
id
string (uuid)
name
string
description
string
isSystem
boolean
createdAt
string (date-time)

Code Examples

curl -X GET 'https://api-next.checkio.co.uk/{tenantId}/v1/users/{userId}/roles' \
  -H 'Authorization: Bearer {token}'