cURL
curl --request GET \ --url https://apigw.bienport.com/api/role/user/{userId}/privilege-groups \ --header 'Authorization: <authorization>' \ --header 'OrganizationId: <organizationid>'
{ "userId": 20199, "userPrivilegeValidity": { "id": 147, "accessibleDays": [ { "dayOfWeek": 3, "start": 155000, "end": 451000 } ], "expiration": 1646639127000, "validityStart": 1678088727000 }, "userPrivilegeGroups": [ { "id": 268, "privilegeGroupId": 2, "authority": true, "scopePk": 31547 } ] }
Access Token
Organization ID
userId
User Privilege Groups and Validities Response.
User ID.
20199
Show child attributes
User privilege groups.