Role #
Package : spaceone.api.identity.v1
Role #
Role Methods:
Method | Request | Response |
---|---|---|
create | CreateRoleRequest | RoleInfo |
update | UpdateRoleRequest | RoleInfo |
delete | RoleRequest | Empty |
get | GetRoleRequest | RoleInfo |
list | RoleQuery | RolesInfo |
stat | RoleStatQuery | Struct |
create #
POST /identity/v1/role/create
update #
POST /identity/v1/role/update
delete #
POST /identity/v1/role/delete
get #
POST /identity/v1/role/get
list #
POST /identity/v1/role/list
stat #
POST /identity/v1/role/stat
Message #
CreateRoleRequest #
name (string)
Required
role_type (RoleType)
Required
policies (RolePolicy)
Repeated
Required
domain_id (string)
Required
page_permissions (PagePermission)
Repeated
tags (Struct)
GetRoleRequest #
role_id (string)
Required
domain_id (string)
Required
only (string)
Repeated
PagePermission #
page (string)
Required
permission (Permission)
Required
RoleInfo #
role_id (string)
Required
name (string)
Required
role_type (RoleType)
Required
policies (RolePolicy)
Repeated
Required
page_permissions (PagePermission)
Repeated
Required
tags (Struct)
Required
domain_id (string)
Required
created_at (string)
Required
deleted_at (string)
Required
RolePolicy #
policy_type (PolicyType)
Required
policy_id (string)
Required
RoleQuery #
domain_id (string)
Required
query (Query)
role_id (string)
name (string)
role_type (RoleType)
policy_id (string)
RoleRequest #
role_id (string)
Required
domain_id (string)
Required
RoleStatQuery #
query (StatisticsQuery)
Required
domain_id (string)
Required
RolesInfo #
results (RoleInfo)
Repeated
Required
total_count (int32)
Required
UpdateRoleRequest #
role_id (string)
Required
domain_id (string)
Required
name (string)
policies (RolePolicy)
Repeated
page_permissions (PagePermission)
Repeated
tags (Struct)
release_page_permissions (bool)