Get Role
Get Role
POST/api/2/auto_eval/resource_permission/get_role
Description of get_role
Request
- application/json
Body
id integerrequired
Responses
- 200
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
role
object
required
id integerrequired
name stringrequired
roleType RoleType (string)required
Possible values: [ROLE_TYPE_UNSPECIFIED
, ROLE_TYPE_USER
, ROLE_TYPE_ORGANIZATION
, ROLE_TYPE_PROJECT
]
roleUsers
object[]
required
id stringrequired
User id for the user
name stringrequired
grantedToRoleIds integer[]required
{
"role": {
"id": 0,
"name": "string",
"roleType": "ROLE_TYPE_UNSPECIFIED",
"roleUsers": [
{
"id": "string",
"name": "string"
}
],
"grantedToRoleIds": [
0
]
}
}
Loading...