MENU
      Create Quota Policy

        Create Quota Policy


        Article summary

        Overview

        You can create a new quota policy.

        API URL

        "https://organization.apigw.ntruss.com/open-api/v1/policy"
        Method: POST
        Plain text

        Requests

        Headers

        Go to the creation guide of the NAVER Cloud Platform authentication key and signature

        Header nameDescriptionRemarks
        x-ncp-apigw-timestampThis is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC. If the time difference compared to the APIGW server is more than 5 minutes, the request is considered invalid.Ncloud common
        x-ncp-iam-access-keyThis is the Access Key ID value issued by NAVER Cloud Platform portal.Ncloud common
        x-ncp-apigw-signature-v2This is the signature encrypted with Access Key ID value and Secret Key.Ncloud common

        Request Body

        {
          "organizationGroupNoList": [
            321,
            322
          ],
          "policyDesc": "NewPolicyO1 Description",
          "policyName": "NewPolicyO1",
          "resourceQuotaList": [
            {
              "regionNo": 1,
              "resourceDetailList": [
                {
                  "generationCode": "G1",
                  "productRestrictCount": 1,
                  "productTypeCode": "STAND",
                  "productTypeDetailCode": "STAND"
                }
              ],
              "resourceRestrictCount": 1,
              "resourceTypeCode": "SVR"
            }
          ]
        }
        JSON
        ItemRequirement statusTypeDescription
        organizationGroupNoListfalsejson arrayList of applicable organization group numbers
        policyNametruestringQuota Policy name
        policyDesctruestringDescription of Quota Policy
        resourceQuotaListtruejson arrayResource list
        resourceQuotaList.regionNotrueintegerRegion number
        resourceQuotaList.resourceTypeCodetruestringResource type
        resourceQuotaList.resourceRestrictCounttrueintegerResource use limit
        resourceQuotaList.resourceDetailListtruejson arrayDetailed resource list
        resourceQuotaList.resourceDetailList.generationCodefalsestringGeneration classification
        resourceQuotaList.resourceDetailList.productTypeCodefalsestringProduct type code
        resourceQuotaList.resourceDetailList.productTypeDetailCodefalsestringaDetailed product code
        resourceQuotaList.resourceDetailList.productRestrictCountfalseintegerMaximum product limit value

        Response

        Response Body

        {
          "policyNo": 368
        }
        JSON
        ItemRequirement statusTypeDescription
        policyNotruestringQuota Policy number

        Response Error

        See the Organization error code section of the Organization overview.


        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.