Get a details of the role whose role id has been provided
Select
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
- 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 stringtype stringType of permission assigned to the role.
- 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.
globalConfigInfo object
Only applicable on Global CommCells
id stringname stringcommcells object[]
List of Service CommCells where the global configuration is applied
id int32name stringguid stringscope stringThe entity level at which the config is applied.
scopeFilterQuery stringCommCellEntityCache filter query string used for filtering the scope
applyOnAllCommCells booleanDecides whether the global configuration should be applied to all the Service commcells, including the newly created ones
isMarkedForDeletion booleanIndicates whether global configuration deletion has been started.
status string
{
"id": 0,
"name": "string",
"permissions": [
{
"permission": {
"id": 0,
"name": "string"
},
"category": {
"id": 0,
"name": "string"
},
"type": "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
}
]
}
],
"globalConfigInfo": {
"id": "string",
"name": "string",
"commcells": [
{
"id": 0,
"name": "string",
"guid": "string"
}
],
"scope": "string",
"scopeFilterQuery": "string",
"applyOnAllCommCells": true,
"isMarkedForDeletion": true,
"status": "string"
}
}
Requested Details not found