setQuota
    • PDF

    setQuota

    • PDF

    Article Summary

    Overview

    In GeoLocation, you can change the monthly limit for calls and monthly maximum number of calls. It takes about 1 minute for changes to be applied.

    Requests

    API URL

    POST https://geolocation.apigw.ntruss.com/geolocation/v2/quota?quota=2000
    

    Request headers

    HeaderDescription
    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.
    x-ncp-apigw-timestamp:{Timestamp}
    x-ncp-iam-access-keyThis is the Access Key ID issued by NAVER CLOUD PLATFORM portal.
    x-ncp-iam-access-key:{Sub Account Access Key}
    x-ncp-apigw-signature-v2This is the signature encrypted Access Key ID and Secret Key.
    x-ncp-apigw-signature-v2:{API Gateway Signature}

    Request parameters

    ParameterRequiredTypeRestrictionsDescription
    quotaYesString"unlimit", or the desired values to limit (e.g., 100)For unlimited calls, "unlimit" should be entered. If you want to set a monthly limit for use, the desired maximum number of calls should be entered.

    Responses

    Response statuses

    HTTP Statusdescription
    204OK (No Content)
    404Not Found
    500Internal Server Error

    Example

    Normal response

    HTTP Status : 204
    

    Error response

    {
        "error": {
            "errorCode": 130001,
            "message": "Invalid Quota",
            "details": null
        }
    }
    

    Error codes

    Error codeResponse messageDescription
    130001Invalid QuotaThis error occurs when an invalid quota is set.
    131002Internal Server ErrorThis occurs when there is a GeoLocation server error. If the problem persists, please contact Support > Contact Us.
    131004Subscription RequiredUsing the NAVER CLOUD PLATFORM console, go to AI·NAVER API > GeoLocation > Subscription to request use of GeoLocation services.

    For other error codes, please see NAVER CLOUD PLATFORM API > Handle error.


    Was this article helpful?

    What's Next
    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.