RoleBinding

RoleBinding #

Package : spaceone.api.identity.v2



RoleBinding #

RoleBinding Methods:

MethodRequestResponse
createCreateRoleBindingRequestRoleBindingInfo
update_roleUpdateRoleBindingRequestRoleBindingInfo
deleteRoleBindingRequestEmpty
getRoleBindingRequestRoleBindingInfo
listRoleBindingSearchQueryRoleBindingsInfo
statRoleBindingStatQueryStruct

create #

POST /identity/v1/role-binding/create

CreateRoleBindingRequest

  • user_id (string) Required

  • role_id (string) Required

  • resource_group (ResourceGroup) Required

  • workspace_id (string)

{
 "user_id": "wonny@cloudforet.io",
 "role_id": "managed-workspace-owner",
 "resource_group": "WORKSPACE",
 "workspace_id": "workspace-a1b2c3d4e5f6"
}

RoleBindingInfo

  • role_binding_id (string) Required

  • role_type (RoleType) Required

  • resource_group (ResourceGroup) Required

  • domain_id (string) Required

  • workspace_group_id (string) Required

  • workspace_id (string) Required

  • role_id (string) Required

  • user_id (string) Required

  • created_at (string) Required

{
 "created_at": "2024-11-18T04:23:18.121Z",
 "domain_id": "domain-a1b2c3d4e5f6",
 "resource_group": "WORKSPACE",
 "role_binding_id": "rb-a1b2c3d4e5f6",
 "role_id": "managed-workspace-owner",
 "role_type": "WORKSPACE_OWNER",
 "user_id": "wonny@cloudforet.io",
 "workspace_id": "workspace-a1b2c3d4e5f6"
}

update_role #

POST /identity/v1/role-binding/update-role

UpdateRoleBindingRequest

  • role_binding_id (string) Required

  • role_id (string) Required

{
 "roleBindingId": "rb-a1b2c3d4e5f6",
 "roleId": "managed-workspace-owner"
}

RoleBindingInfo

  • role_binding_id (string) Required

  • role_type (RoleType) Required

  • resource_group (ResourceGroup) Required

  • domain_id (string) Required

  • workspace_group_id (string) Required

  • workspace_id (string) Required

  • role_id (string) Required

  • user_id (string) Required

  • created_at (string) Required

{
 "created_at": "2024-11-18T04:23:18.121Z",
 "domain_id": "domain-a1b2c3d4e5f6",
 "resource_group": "WORKSPACE",
 "role_binding_id": "rb-a1b2c3d4e5f6",
 "role_id": "managed-workspace-owner",
 "role_type": "WORKSPACE_OWNER",
 "user_id": "wonny@cloudforet.io",
 "workspace_id": "workspace-a1b2c3d4e5f6"
}

delete #

POST /identity/v1/role-binding/delete

RoleBindingRequest

  • role_binding_id (string) Required
{
 "roleBindingId": "rb-a1b2c3d4e5f6",
}

get #

POST /identity/v1/role-binding/get

RoleBindingRequest

  • role_binding_id (string) Required
{
 "roleBindingId": "rb-a1b2c3d4e5f6",
}

RoleBindingInfo

  • role_binding_id (string) Required

  • role_type (RoleType) Required

  • resource_group (ResourceGroup) Required

  • domain_id (string) Required

  • workspace_group_id (string) Required

  • workspace_id (string) Required

  • role_id (string) Required

  • user_id (string) Required

  • created_at (string) Required

{
 "created_at": "2024-11-18T04:23:18.121Z",
 "domain_id": "domain-a1b2c3d4e5f6",
 "resource_group": "WORKSPACE",
 "role_binding_id": "rb-a1b2c3d4e5f6",
 "role_id": "managed-workspace-owner",
 "role_type": "WORKSPACE_OWNER",
 "user_id": "wonny@cloudforet.io",
 "workspace_id": "workspace-a1b2c3d4e5f6"
}

list #

POST /identity/v1/role-binding/list

RoleBindingSearchQuery

  • query (Query)

  • role_binding_id (string)

  • role_type (RoleType)

  • workspace_id (string)

  • role_id (string)

  • user_id (string)

{
 "roleType": "WORKSPACE_MEMBER",
 "query": {
   "page": {
     "start": 1,
     "limit": 10
   },
   "sort": [
     {
       "key": "created_at",
       "desc": true
     }
   ]
 }
}

RoleBindingsInfo

  • results (RoleBindingInfo) Repeated Required

  • total_count (int32) Required

{
 "results": [
   {
     "created_at": "2024-11-18T05:00:52.870Z",
     "domain_id": "domain-a1b2c3d4e5f6",
     "resource_group": "WORKSPACE",
     "role_binding_id": "rb-a1b2c3d4e5f6",
     "role_id": "managed-workspace-member",
     "role_type": "WORKSPACE_MEMBER",
     "user_id": "wonny@cloudforet.io",
     "workspace_id": "workspace-a1b2c3d4e5f6"
   },
   {
     "created_at": "2024-11-18T04:42:33.285Z",
     "domain_id": "domain-a1b2c3d4e5f6",
     "resource_group": "WORKSPACE",
     "role_binding_id": "rb-g7h8i9j1k2l3",
     "role_id": "managed-workspace-owner",
     "role_type": "WORKSPACE_OWNER",
     "user_id": "wonny@cloudforet.io",
     "workspace_id": "workspace-a1b2c3d4e5f6"
   }
 ],
 "total_count": 2
}

stat #

POST /identity/v1/role-binding/stat



Message #

CreateRoleBindingRequest #

  • user_id (string) Required

  • role_id (string) Required

  • resource_group (ResourceGroup) Required

  • workspace_id (string)


RoleBindingInfo #

  • role_binding_id (string) Required

  • role_type (RoleType) Required

  • resource_group (ResourceGroup) Required

  • domain_id (string) Required

  • workspace_group_id (string) Required

  • workspace_id (string) Required

  • role_id (string) Required

  • user_id (string) Required

  • created_at (string) Required


RoleBindingRequest #

  • role_binding_id (string) Required


RoleBindingSearchQuery #

  • query (Query)

  • role_binding_id (string)

  • role_type (RoleType)

  • workspace_id (string)

  • role_id (string)

  • user_id (string)


RoleBindingStatQuery #

  • query (StatisticsQuery) Required


RoleBindingsInfo #

  • results (RoleBindingInfo) Repeated Required

  • total_count (int32) Required


UpdateRoleBindingRequest #

  • role_binding_id (string) Required

  • role_id (string) Required


Calendar December 4, 2024
Edit Edit this page