Skip to main content
GET
/
platform
/
adminuser
/
accounts
/
{userId}
/
roles
Error
A valid request URL is required to generate request examples
{
  "totalCount": 123,
  "items": [
    {
      "userId": "<string>",
      "assignedInScope": {
        "type": "<string>",
        "id": 123,
        "name": "<string>"
      },
      "roleId": 123,
      "roleName": "<string>",
      "roleResources": [
        {
          "type": "<string>",
          "id": "<string>"
        }
      ],
      "roleTags": [
        "<string>"
      ],
      "auditInfo": {
        "updateDate": "2023-11-07T05:31:56Z",
        "createDate": "2023-11-07T05:31:56Z",
        "updateBy": "<string>",
        "createBy": "<string>"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Path Parameters

userId
string
required

Unique identifier of the user.

Query Parameters

responseFields
string

limits which fields are returned in the response body

Response

Success

Collection of UserRoles for given user.

totalCount
integer<int32>
items
object[] | null