Role

Role #

Package : spaceone.api.identity.v2



Role #

Role Methods:

MethodRequestResponse
createCreateRoleRequestRoleInfo
updateUpdateRoleRequestRoleInfo
enableRoleRequestRoleInfo
disableRoleRequestRoleInfo
deleteRoleRequestEmpty
getRoleRequestRoleInfo
listRoleSearchQueryRolesInfo
list_basic_roleRoleSearchQueryRolesInfo
statRoleStatQueryStruct

create #

POST /identity/v2/role/create


update #

POST /identity/v2/role/update


enable #

POST /identity/v2/role/enable

RoleRequest

  • role_id (string) Required
{
 "role_id": "role-a12335a6a4fe"
}

disable #

POST /identity/v2/role/disable

RoleRequest

  • role_id (string) Required
{
 "role_id": "role-a12335a6a4fe"
}

delete #

POST /identity/v2/role/delete

RoleRequest

  • role_id (string) Required
{
 "role_id": "role-a12335a6a4fe"
}

get #

POST /identity/v2/role/get

RoleRequest

  • role_id (string) Required
{
 "role_id": "role-a12335a6a4fe"
}

list #

POST /identity/v2/role/list


list_basic_role #

POST /identity/v2/role/list-basic-role


stat #

POST /identity/v2/role/stat



Message #

CreateRoleRequest #

  • name (string) Required

  • role_type (RoleType) Required

  • permissions (string) Repeated

  • page_access (string) Repeated

  • tags (Struct)


RoleInfo #

  • role_id (string) Required

  • name (string) Required

  • role_type (RoleType) Required

  • permissions (string) Repeated Required

  • page_access (string) Repeated Required

  • tags (Struct) Required

  • is_managed (bool) Required

  • state (State) Required

  • domain_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required


RoleRequest #

  • role_id (string) Required


RoleSearchQuery #

  • query (Query)

  • role_id (string)

  • name (string)

  • role_type (RoleType)

  • state (State)


RoleStatQuery #

  • query (StatisticsQuery) Required


RolesInfo #

  • results (RoleInfo) Repeated Required

  • total_count (int32) Required


UpdateRoleRequest #

  • role_id (string) Required

  • name (string)

  • permissions (ListValue)

  • page_access (ListValue)

  • tags (Struct)


Calendar November 4, 2024
Edit Edit this page