Skip to main content
GET
/
role
/
{roleId}
/
privilege-groups
Get Role Privilege Groups By Role Id
curl --request GET \
  --url https://apigw.bienport.com/api/role/{roleId}/privilege-groups \
  --header 'Authorization: <authorization>' \
  --header 'OrganizationId: <organizationid>'
[
  {
    "id": 12,
    "roleId": 20162,
    "privilegeGroupId": 5,
    "defaultAuthority": true
  }
]

Headers

Authorization
string
required

Access Token

OrganizationId
string
required

Organization ID

Path Parameters

roleId
integer<int64>
required

roleId

Response

Organization roles.

id
integer<int64>

Role Privilege Group ID

Example:

12

roleId
integer<int64>

Role ID

Example:

20162

privilegeGroupId
integer<int64>

Privilege Group Id

Example:

5

defaultAuthority
boolean

The role's default access status for the privilege.

Example:

true