Search single policy
- Print
- PDF
Search single policy
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
- Search a single policy.
API
- GET /policies/{policyId}
Requests
Request parameters
Parameter | Location | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|---|
policyId | path | Y | String | Policy Id | |
withPermissions | query string | N | boolean | Search the permissions of the policy together (default: false) |
Responses
{
"policyId": "string",
"policyName": "string",
"policyType": "string",
"nrn": "string",
"permissions": [
{
"effect": "string",
"targets": [
{
"product": "string",
"actions": [
"string"
],
"resourceNrns": [
"string"
]
}
]
}
]
}
Item | Type | Description | Remarks |
---|---|---|---|
policyId | string | Policy ID | |
policyName | string | Policy name | |
policyType | string | Policy type (SYSTEM_MANAGED, USER_CREATED) | |
nrn | string | Naming Rule for expressing Ncloud resources | |
permissions | array | Permission list | |
permissions.effect | string | Permission status (currently only supports Allow) | |
permissions.targets | array | Permission target | |
permissions.targets.product | string | Target product code | |
permissions.targets.actions | array | Target action | |
permissions.targets.resourceNrns | array | Target resource nrns |
Was this article helpful?