# DescribeNatGatewayRegions

## 1. API Description

This API is used to query the available regions of NAT gateways.

## 2. Output Parameters

<table><thead><tr><th width="158.12286376953125">Parameter Name</th><th width="136.12713623046875">Type</th><th>Description</th></tr></thead><tbody><tr><td>requestId</td><td>String</td><td>The unique request ID, which is returned for each request. RequestId is required to locate a problem.</td></tr><tr><td>regionIds</td><td>Array of String</td><td>The returned region ID list.</td></tr></tbody></table>

## 3. Code Example

{% tabs %}
{% tab title="Example" %}
**Query the available regions of NAT gateway.**

```json
POST /api/v2/zec HTTP/1.1
Host: console.zenlayer.com
Content-Type: application/json
X-ZC-Action: DescribeNatGatewayRegions
<Common Request Params>

Request：
{
    
}

Response：
{
  "requestId": "T05992D0C-7E8B-4047-B0C0-780F2CD549D3",
  "response": {
    "requestId": "T05992D0C-7E8B-4047-B0C0-780F2CD549D3",
    "regionIds": ["<regionId>"]
  }
}
```

{% endtab %}
{% endtabs %}

## 4. Developer Resources

Zenlayer Cloud API 2.0 [SDKs](https://docs.console.zenlayer.com/test/ci-develop-en/api-introduction/software-toolkit/sdk/introduction) to make it easier for you to call APIs. More programming languages will be supported.

## 5. Error Codes

No error codes related to the API business logic. For other error codes, see [Common Error Codes](https://docs.console.zenlayer.com/test/ci-develop-en/api-introduction/instruction/commonerrorcode).​
