Policy
Package : spaceone.api.identity.v1
Policy
Policy Methods:
Method | Request | Response |
---|---|---|
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
Field | Type | Required | Description |
---|---|---|---|
name | string | ✔ | |
permissions | list of string | ✔ | |
tags | ✘ | ||
domain_id | string | ✔ |
GetPolicyRequest
Field | Type | Required | Description |
---|---|---|---|
policy_id | string | ✔ | |
domain_id | string | ✔ | |
only | list of string | ✘ |
PoliciesInfo
Field | Type | Description |
---|---|---|
results | ||
total_count |
PolicyInfo
Field | Type | Description |
---|---|---|
policy_id | string | |
name | string | |
permissions | list of string | |
domain_id | string | |
tags | ||
created_at | string |
PolicyQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✘ | ||
policy_id | string | ✘ | |
name | string | ✘ | |
domain_id | string | ✘ |
PolicyRequest
Field | Type | Required | Description |
---|---|---|---|
policy_id | string | ✔ | |
domain_id | string | ✔ |
PolicyStatQuery
Field | Type | Required | Description |
---|---|---|---|
query | ✔ | ||
domain_id | string | ✔ |
UpdatePolicyRequest
Field | Type | Required | Description |
---|---|---|---|
policy_id | string | ✔ | |
name | string | ✘ | |
permissions | list of string | ✘ | |
tags | ✘ | ||
domain_id | string | ✔ |
Last updated