Skip to main content
GET
/
commerce
/
customer
/
b2baccounts
/
{accountId}
/
user
/
{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

accountId
integer<int32>
required
userId
string
required

Unique identifier of the user.

Query Parameters

responseFields
string

limits which fields are returned in the response body

Response

Success

totalCount
integer<int32>
items
object[] | null