Policy
Package : spaceone.api.identity.v1
Policy
Policy Methods:
NO | Method | Request Type | Response Type | Description |
1 | ||||
2 | ||||
3 | ||||
4 | ||||
5 | ||||
6 |
create
POST /identity/v1/policies
Type | Message |
Request | |
Response |
update
PUT /identity/v1/policy/{policy_id}
Type | Message |
Request | |
Response |
delete
DELETE /identity/v1/policy/{policy_id}
Type | Message |
Request | |
Response |
get
GET /identity/v1/policy/{policy_id}
Type | Message |
Request | |
Response |
list
GET /identity/v1/policies
POST /identity/v1/policies/search
Type | Message |
Request | |
Response |
stat
POST /identity/v1/policies/stat
Type | Message |
Request | |
Response |
Message
CreatePolicyRequest
No | Field | Type | Required | Description |
1 | name | string | ✅ | |
2 | permissions | string | ✅ | |
3 | tags | ❌ | ||
4 | domain_id | string | ✅ |
GetPolicyRequest
No | Field | Type | Required | Description |
1 | policy_id | string | ✅ | |
2 | domain_id | string | ✅ | |
3 | only | string | ❌ |
PoliciesInfo
No | Field | Type | Description |
1 | results | ||
2 | total_count |
PolicyInfo
No | Field | Type | Description |
1 | policy_id | string | |
2 | name | string | |
3 | permissions | string | |
4 | domain_id | string | |
5 | tags | ||
6 | created_at |
PolicyQuery
No | Field | Type | Required | Description |
1 | query | ❌ | ||
2 | policy_id | string | ❌ | |
3 | name | string | ❌ | |
4 | domain_id | string | ❌ |
PolicyRequest
No | Field | Type | Required | Description |
1 | policy_id | string | ✅ | |
2 | domain_id | string | ✅ |
PolicyStatQuery
No | Field | Type | Required | Description |
1 | query | ✅ | ||
2 | domain_id | string | ✅ |
UpdatePolicyRequest
No | Field | Type | Required | Description |
1 | policy_id | string | ✅ | |
2 | name | string | ❌ | |
3 | permissions | string | ❌ | |
4 | tags | ❌ | ||
5 | domain_id | string | ✅ |
Last updated