Role
Package : spaceone.api.identity.v1
Role
Role Methods:
Method | Request | Response |
---|---|---|
create
POST /identity/v1/roles
Type | Message |
---|---|
Request | |
Response |
update
PUT /identity/v1/roles/{role_id}
Type | Message |
---|---|
Request | |
Response |
delete
DELETE /identity/v1/roles/{role_id}
Type | Message |
---|---|
Request | |
Response |
get
GET /identity/v1/roles/{role_id}
Type | Message |
---|---|
Request | |
Response |
list
GET /identity/v1/roles
POST /identity/v1/roles/search
stat
POST /identity/v1/roles/stat
Type | Message |
---|---|
Request | |
Response |
Message
CreateRoleRequest
Field | Type | Required | Description |
---|---|---|---|
name | string | ✔ | |
role_type |
| ✔ | |
policies | ✔ | ||
page_permissions | ✘ | ||
tags | ✘ | ||
domain_id | string | ✔ |
GetRoleRequest
Field | Type | Required | Description |
---|---|---|---|
role_id | string | ✔ | |
domain_id | string | ✔ | |
only | list of string | ✘ |
PagePermission
Field | Type | Description |
---|---|---|
page | string | |
permission |
|
RoleInfo
Field | Type | Description |
---|---|---|
role_id | string | |
name | string | |
role_type |
| |
policies | ||
page_permissions | ||
tags | ||
domain_id | string | |
created_at | string | |
deleted_at | string |
RolePolicy
Field | Type | Description |
---|---|---|
policy_type |
| |
policy_id | string |
RoleQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✘ | ||
role_id | string | ✘ | |
name | string | ✘ | |
role_type |
| ✘ | |
policy_id | string | ✘ | |
domain_id | string | ✔ |
RoleRequest
Field | Type | Required | Description |
---|---|---|---|
role_id | string | ✔ | |
domain_id | string | ✔ |
RoleStatQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✔ | ||
domain_id | string | ✔ |
RolesInfo
Field | Type | Description |
---|---|---|
results | ||
total_count |
UpdateRoleRequest
Field | Type | Required | Description |
---|---|---|---|
role_id | string | ✔ | |
name | string | ✘ | |
policies | ✘ | ||
page_permissions | ✘ | ||
tags | ✘ | ||
release_page_permissions | bool | ✘ | |
domain_id | string | ✔ |
Last updated