MENU
      Change usage limits

        Change usage limits


        Article summary

        We are preparing a localization service for the content. We will do our best to provide the localization service as soon as possible.

        You can set usage limits for the following:

        • document_upload: uploaded document size(byte)
        • reindex: reindexing (section, when adding index) document size(byte)
        • autocomplete_reindex: number of autocompleted documents
        • search_response: Search query network usage(byte)
        PUT https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}/quota/{type}
        HTTP

        Request

        Request Parameters

        ParameterRequiredTypeLimitationsDescription
        nameYstringDomain name
        typeYesstringLimit usagesearch_response, document_upload, reindex, autocomplete_reindex

        Request Body

        FieldRequiredTypeLimitationsDescription
        intervalYesstring1month, 1dayUsage Initialization Cycle
      • 1Month (reset: every day, 0:00:00)
      • 1Day (reset: 00:00)
      • quotaYesnumberIf set to 0, the usage limit is cleared.Limited usage

        Response

        Response status

        HTTP StatusDesc
        200OK(Completed setup)
        400Bad Request
        401Unauthorized
        403Forbidden
        404Not Found
        500Internal Server Error

        Examples

        Request Example

        PUT /CloudSearch/beta/v1/domain/my_service/quota/search_response HTTP/1.1
        Host: cloudsearch.apigw.ntruss.com
        accept:application/json
        x-ncp-iam-access-key: cPMl0CYGgRYvEa8sylCj
        x-ncp-apigw-signature-v2: +Ln++MqcKHckKli2y/bB76xLUu8qR9rLvo6j2yIYuYg=
        x-ncp-apigw-timestamp: 1551453306138
        
        {
          "interval": "1Month",
          "quota": 10000000000
        }
        HTTP

        Request Example

        {"result":"ok"}
        JSON

        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.