Get a details of the role whose role id has been provided
Get a details of the role whose role id has been provided
Path Parameters
- roleId int32 required
Role Id
Query Parameters
- showInheritedAssociation boolean
Shows inherited security associations
Responses
- 200
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
- id int32
id of the role.
- name string
name of the role.
permissions object[]
List of permissions associated with the role.
permission object
id int32name stringcategory object
id int32name string- visibleToAll boolean
Returns if the role is visible to all.
- status string
Possible values: [
ENABLED
,DISABLED
]Specifies whether the role has been enabled or disabled.
security object[]
Used to return the security association for the role
user object
id int32name stringuserGroup object
id int32name stringexternalUserGroup object
External User Group Entity
id int32User Group Id
name stringExternal Group Name
providerId int32Provider id
providerName stringProvider Name
isCreatorAssociation booleanrole object
id int32name stringpermissionList object[]
permissionId int32permissionName stringcategoryId int32categoryName stringtype stringPossible values: [
ALL_CATEGORIES
,CATEGORY_ENTITY
,PERMISSION_ENTITY
]Returns the type of association.
exclude booleanFlag to specify if this is included permission or excluded permission.
{
"id": 0,
"name": "string",
"permissions": [
{
"permission": {
"id": 0,
"name": "string"
},
"category": {
"id": 0,
"name": "string"
}
}
],
"visibleToAll": true,
"status": "ENABLED",
"security": [
{
"user": {
"id": 0,
"name": "string"
},
"userGroup": {
"id": 0,
"name": "string"
},
"externalUserGroup": {
"id": 0,
"name": "string",
"providerId": 0,
"providerName": "string"
},
"isCreatorAssociation": true,
"role": {
"id": 0,
"name": "string"
},
"permissionList": [
{
"permissionId": 0,
"permissionName": "string",
"categoryId": 0,
"categoryName": "string",
"type": "ALL_CATEGORIES",
"exclude": true
}
]
}
]
}
Requested Details not found
Loading...