UpdateNatGateway
PUT {{baseUrl}}/natGateways/:natGatewayId
Updates the specified NAT gateway.
Request Body
{"blockTraffic"=>false, "displayName"=>"sunt consectetur aliqua Excepteur ut"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
if-match | string | For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match | |
parameter to the value of the etag from a previous GET or POST response for that resource. The resource | |||
will be updated or deleted only if the etag you provide matches the resource's current etag value. | |||
Content-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (Required) Content sha256 for POST, PUT and PATCH operations |
RESPONSES
status: OK
{"compartmentId":"et","vcnId":"laboris dolor","natIp":"ut ad minim commodo irure","id":"ex mollit nostrud","lifecycleState":"TERMINATED","timeCreated":"1951-12-31T09:14:40.490Z","blockTraffic":false,"definedTags":{},"displayName":"Excepteur laboris","freeformTags":{},"publicIpId":"veniam est"}