UpdateInternetGateway
PUT {{baseUrl}}/internetGateways/:igId
Updates the specified internet gateway. You can disable/enable it, or change its display name or tags. Avoid entering confidential information.
If the gateway is disabled, that means no traffic will flow to/from the internet even if there's a route rule that enables that traffic.
Request Body
{"displayName"=>"mollit Duis ad consequat", "isEnabled"=>false}
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
{"id":"quis laborum eu","compartmentId":"sed","lifecycleState":"AVAILABLE","vcnId":"fugiat nostrud","definedTags":{},"displayName":"Ut reprehend","freeformTags":{},"isEnabled":true,"timeCreated":"1994-01-17T22:51:32.949Z"}