UpdateServiceGateway
PUT {{baseUrl}}/serviceGateways/:serviceGatewayId
Updates the specified service gateway. The information you provide overwrites the existing attributes of the gateway.
Request Body
{"blockTraffic"=>true, "displayName"=>"culpa tempor", "routeTableId"=>"s", "services"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}
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":"Ut eu esse consectetur","id":"eu ad anim","lifecycleState":"TERMINATING","vcnId":"ea culpa et Duis deserunt","blockTraffic":false,"services":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"definedTags":{},"displayName":"Lorem Excepteur mini","freeformTags":{},"routeTableId":"ex","timeCreated":"2015-12-17T16:51:12.199Z"}