MENU
      getRegionList

        getRegionList


        Article summary

        Available in Classic and VPC

        Get the list of available Regions.

        Request

        This section describes the request format. The method and URI are as follows:

        MethodURI
        GET, POST/region/getRegionList

        Request headers

        The following describes the headers.

        FieldRequiredDescription
        x-ncp-apigw-timestampRequiredThis is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC
      • Request is considered invalid if the timestamp differs from the current time by more than 5 minutes
      • x-ncp-iam-access-keyRequiredAccess key issued on NAVER Cloud Platform
      • Issue and check access key: See Create authentication key
      • Issue and check access key for sub account: See Create sub account
      • x-ncp-apigw-signature-v2RequiredBase64-encoded signature that encrypts the request information with a secret key that maps to the access key issued on NAVER Cloud Platform, using the HMAC encryption algorithm (HmacSHA256)
      • Issue and check secret key: See Create authentication key
      • Create signature: See Create signature
      • Request query parameters

        The following describes the parameters.

        FieldTypeRequiredDescription
        regionCodeStringOptionalRegion code to get

        Request example

        The request example is as follows:

        curl --location --request GET 'https://billingapi.apigw.ntruss.com/billing/v1/region/getRegionList' \
        --header 'x-ncp-apigw-timestamp: {Timestamp}' \
        --header 'x-ncp-iam-access-key: {Sub Account Access Key}' \
        --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
        Curl

        Response

        This section describes the response format.

        Response body

        See RegionList (For Billing) for the response body.

        Response status codes

        For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.

        Response example

        The response example is as follows:

        {
            "getRegionListResponse": {
                "totalRows": 6,
                "regionList": [
                    {
                        "regionNo": 0,
                        "regionCode": "COM",
                        "regionName": "Common"
                    },
                    {
                        "regionNo": 1,
                        "regionCode": "KR",
                        "regionName": "Korea"
                    },
                    {
                        "regionNo": 7,
                        "regionCode": "SGN",
                        "regionName": "Singapore(New)"
                    },
                    {
                        "regionNo": 8,
                        "regionCode": "JPN",
                        "regionName": "Japan(New)"
                    },
                    {
                        "regionNo": 9,
                        "regionCode": "USWN",
                        "regionName": "US-West(New)"
                    },
                    {
                        "regionNo": 10,
                        "regionCode": "DEN",
                        "regionName": "Germany(New)"
                    }
                ],
                "requestId": "ea95e478-6984-48e7-be34-7a8dcf016016",
                "returnCode": "0",
                "returnMessage": "success"
            }
        }
        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.