Docs

Get Holders

GET /access-roles/{roleId}/holders

GET/access-roles/{roleId}/holders

Lists who holds the role, by direct grant, event access (with its condition), or by filling an event, collaborator or area role that names it (kind TarRole, with roleDefinitionName and no grantId). Each row carries grantee { type, id, name } and context { type, id, label }. Needs Access.Manage at the organization (organization token).

Path Parameters

FieldTypeRequiredDescription
roleIduuidRequired

Response

Type: GetRoleHolderResponse[]

GetRoleHolderResponse

FieldTypeDescription
grantIduuid| null
granteeGetRoleHolderResponseGranteeInfo
contextGetRoleHolderResponseContextInfo
kindstring| null
conditionEventAccessCondition
roleDefinitionNamestring| null

GetRoleHolderResponseGranteeInfo

FieldTypeDescription
typestring| null
iduuid
namestring| null

GetRoleHolderResponseContextInfo

FieldTypeDescription
typestring| null
iduuid
labelstring| null

EventAccessCondition

FieldTypeDescription
logicstring| null
groupsEventAccessConditionGroup[]| null
attributeIdsuuid[]| null

EventAccessConditionGroup

FieldTypeDescription
logicstring| null
conditionsEventAccessConditionCondition[]| null