--- title: "使用量制限変更" slug: "analytics-cloudsearch-putquota" updated: 2026-09-17T09:57:29Z published: 2026-09-17T09:57:29Z canonical: "api.ncloud-docs.com/analytics-cloudsearch-putquota" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # 使用量制限変更 以下の項目に対して、Domainに使用量制限を設定できます。 document_upload : アップロードDocumentサイズ / uploaded documnet byte reindex : 再インデックス(セクション、インデックスを追加する時に発生)Documentサイズ / reindexed document byte autocomplete_reindex : 自動完成が適用されたDocumentの数 / reindexed document count for autocomplete search_response : Search Queryネットワーク使用量/ response size of searching, unit is byte ``` PUT https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}/quota/{type} ``` ## リクエスト ### リクエストパラメータ | パラメータ名 | 必須 | タイプ | 制約事項 | 説明 | | --- | --- | --- | --- | --- | | name | Yes | string | | 作成されているDomain名 | | type | Yes | string | 使用量を制限する項目 | search_response, document_upload, reindex, autocomplete_reindex | ### リクエストボディ | パラメータ名 | 必須 | タイプ | 制約事項 | 説明 | | --- | --- | --- | --- | --- | | interval | Yes | string | 1Month, 1Day | 使用量初期化周期 1Month(reset: 毎月1日, 0:00:00)1Day(reset: 00:00) | | quota | Yes | number | 0に設定する場合、使用量制限が解除されます。 | 制限使用量 | ## レスポンス ### レスポンスStatus | HTTP Status | Desc | | --- | --- | | 200 | OK(設定完了) | | 400 | Bad Request | | 401 | Unauthorized | | 403 | Forbidden | | 404 | Not Found | | 500 | Internal Server Error | ## 例示 ### リクエスト例示 ``` 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 } ``` ### レスポンス例示 ``` {"result":"ok"} ```