Role
Package : spaceone.api.identity.v1
Role
Role Methods:
NO | Method | Request Type | Response Type | Description |
1 | ||||
2 | ||||
3 | ||||
4 | ||||
5 | ||||
6 |
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
No | Field | Type | Required | Description |
1 | name | string | ✅ | |
2 | role_type |
| ✅ | |
3 | policies | ✅ | ||
4 | tags | ❌ | ||
5 | domain_id | string | ✅ |
GetRoleRequest
No | Field | Type | Required | Description |
1 | role_id | string | ✅ | |
2 | domain_id | string | ✅ | |
3 | only | string | ❌ |
RoleInfo
No | Field | Type | Description |
1 | role_id | string | |
2 | name | string | |
3 | role_type |
| |
4 | policies | ||
5 | tags | ||
6 | domain_id | string | |
7 | created_at | ||
8 | deleted_at |
RolePolicy
No | Field | Type | Description |
1 | policy_type |
| |
2 | policy_id | string | |
3 | repository_id | string |
RoleQuery
No | Field | Type | Required | Description |
1 | query | ❌ | ||
2 | role_id | string | ❌ | |
3 | name | string | ❌ | |
4 | role_type |
| ❌ | |
5 | domain_id | string | ✅ |
RoleRequest
No | Field | Type | Required | Description |
1 | role_id | string | ✅ | |
2 | domain_id | string | ✅ |
RoleStatQuery
No | Field | Type | Required | Description |
1 | query | ✅ | ||
2 | domain_id | string | ✅ |
RolesInfo
UpdateRoleRequest
No | Field | Type | Required | Description |
1 | role_id | string | ✅ | |
2 | name | string | ❌ | |
3 | policies | ❌ | ||
4 | tags | ❌ | ||
5 | domain_id | string | ✅ |
Last updated