UpdateVlan

PUT {{baseUrl}}/vlans/:vlanId

Updates the specified VLAN. Note that this operation might require changes to all the VNICs in the VLAN, which can take a while. The VLAN will be in the UPDATING state until the changes are complete.

Request Body

{"displayName"=>"laboris tempor", "nsgIds"=>["culpa in", "do mollit dolore"], "routeTableId"=>"ipsum ullamco Excepteur ut cillum"}

HEADERS

KeyDatatypeRequiredDescription
if-matchstringFor 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.
opc-request-idstringUnique identifier for the request.
If you need to contact Oracle about a particular request, please provide the request ID.
Content-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations

RESPONSES

status: OK

{"id":"magna in Lorem","compartmentId":"amet ut quis","cidrBlock":"consequat non","lifecycleState":"AVAILABLE","vcnId":"sit consectetur Ut qui","availabilityDomain":"ea sunt officia mollit","definedTags":{},"displayName":"ullamco magna eu","freeformTags":{},"nsgIds":["ad amet exercitation","ut irure magna"],"routeTableId":"sunt occaecat exercitation mollit","timeCreated":"1974-12-31T12:49:21.840Z","vlanTag":-19036463}