Available in Classic and VPC
Set the GeoLocation API call limit type and maximum number of calls per month. It takes about a minute for the settings to be reflected.
Request
The following describes the request format for the endpoint. The request format is as follows:
| Method | URI |
|---|---|
| POST | /quota |
Request headers
For headers common to GeoLocation APIs, see GeoLocation request headers.
Request query parameters
You can use the following query parameters with your request:
| Field | Type | Required | Description |
|---|---|---|---|
quota |
String | Required | Type the type of limit to set and the maximum number of calls per month
|
Request example
The following is a sample request.
curl --location --request POST 'https://geolocation.apigw.ntruss.com/geolocation/v2/quota?quota=100' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
Response
The following describes the response format.
Response status codes
For information about the HTTP status codes common to all GeoLocation APIs, see GeoLocation response status codes.
Response example
The following is a sample response.
HTTP Status : 204