Skip to main content

List Role Members

Queries the member list under a specified role.

Request URL: /openapi/v1/role/member/list

Request Method: GET

Request Parameters

ParameterTypeRequiredDescriptionExample
roleIdStringYesRole ID. You can call List Roles to obtain it.2394

Request Example

{
"roleId": "2394"
}

Response Parameters

ParameterTypeDescriptionExample
successBooleanWhether the request is successful.true
requestIdStringRequest ID.Iq1r4JAM-flllcKBnihgb0WPdihp3GNV
dataArrayList of role members, including accountId and accountName.{<br/> "accountId": "1708********6159",<br/> "accountName": "NineData"<br/>}

Member Fields

ParameterTypeDescription
accountIdStringAccount ID. This value can be used directly in Delete Role Member.
accountNameStringAccount name.

Successful Invocation Example

{
"success": true,
"requestId": "Iq1r4JAM-flllcKBnihgb0WPdihp3GNV",
"data": [
{
"accountId": "1708********6159",
"accountName": "NineData"
},
{
"accountId": "1472********1784",
"accountName": "Zhang San"
}
]
}