{ "operationId": "updateInstance", "method": "PUT", "path": "/instances/{instanceId}", "summary": "Oracle Cloud Update Instance", "requestExamples": [ { "contentType": "application/json", "name": "UpdateInstanceRequestExample", "example": { "displayName": "updated-instance-name", "shape": "VM.Standard.E4.Flex", "shapeConfig": { "ocpus": 4.0, "memoryInGBs": 32.0 }, "freeformTags": { "key1": "value1" } } } ], "responseExamples": [ { "status": "200", "contentType": "application/json", "name": "UpdateInstance200Example", "example": { "id": "ocid1.instance.oc1.iad.abcdefg123456", "compartmentId": "ocid1.compartment.oc1..abcdefg123456", "availabilityDomain": "Uocm:US-ASHBURN-AD-1", "displayName": "my-instance-01", "shape": "VM.Standard.E4.Flex", "lifecycleState": "RUNNING", "region": "us-ashburn-1", "imageId": "ocid1.image.oc1.iad.abcdefg123456", "timeCreated": "2026-01-15T10:30:00Z", "freeformTags": { "key1": "value1" }, "definedTags": { "key1": "value1" } } }, { "status": "400", "contentType": "application/json", "name": "UpdateInstance400Example", "example": { "code": "NotAuthorizedOrNotFound", "message": "Authorization failed or requested resource not found.", "status": 404 } } ] }