PUT /v2/vpc_nat_gateways/{id}
To update the configuration of an existing VPC NAT Gateway, send a PUT request to
/v2/vpc_nat_gateways/$VPC_NAT_GATEWAY_ID. The request must contain a full representation
of the VPC NAT Gateway including existing attributes.
Servers
- https://api.digitalocean.com
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id |
String | Yes |
The unique identifier of the VPC NAT gateway. |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
udp_timeout_seconds |
Integer | No |
The UDP timeout in seconds for the VPC NAT gateway. |
name |
String | Yes |
The human-readable name of the VPC NAT gateway. |
size |
Integer | Yes |
The size of the VPC NAT gateway. |
icmp_timeout_seconds |
Integer | No |
The ICMP timeout in seconds for the VPC NAT gateway. |
tcp_timeout_seconds |
Integer | No |
The TCP timeout in seconds for the VPC NAT gateway. |
vpcs[] |
Array | No |
An array of VPCs associated with the VPC NAT gateway. |
vpcs[].vpc_uuid |
String | No |
The unique identifier of the VPC to which the NAT gateway is attached. |
vpcs[].default_gateway |
Boolean | No |
The classification of the NAT gateway as the default egress route for the VPC traffic. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.