Search single policy
    • PDF

    Search single policy

    • PDF

    Article summary

    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

    ParameterLocationRequirement statusTypeRestrictionsDescription
    policyIdpathYStringPolicy Id
    withPermissionsquery stringNbooleanSearch 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"
              ]
            }
          ]
        }
      ]
    }
    
    ItemTypeDescriptionRemarks
    policyIdstringPolicy ID
    policyNamestringPolicy name
    policyTypestringPolicy type (SYSTEM_MANAGED, USER_CREATED)
    nrnstringNaming Rule for expressing Ncloud resources
    permissionsarrayPermission list
    permissions.effectstringPermission status (currently only supports Allow)
    permissions.targetsarrayPermission target
    permissions.targets.productstringTarget product code
    permissions.targets.actionsarrayTarget action
    permissions.targets.resourceNrnsarrayTarget resource nrns

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.