Skip to main content
GET
/
users
/
{userId}
{
  "userId": "<string>",
  "roles": [
    {
      "productId": "<string>",
      "roleId": "<string>",
      "permissions": [
        {
          "permissionId": "<string>",
          "resourceIds": [
            "<string>"
          ]
        }
      ],
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "permissions": [
    {
      "permissionId": "<string>",
      "resourceIds": [
        "<string>"
      ]
    }
  ],
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Path Parameters

userId
string
required

the user id to retrieve

Response

200 - application/json
userId
string
required

The ID of the user.

roles
object[]
required

User role ids

permissions
object[]
required

The permissions associated with the user.

createdAt
string<date-time>
required

the date of creation of the user

updatedAt
string<date-time>
required

the date of the last update of the user