{ "operationId": "createVcn", "method": "POST", "path": "/vcns", "summary": "Oracle Cloud Create VCN", "requestExamples": [ { "contentType": "application/json", "name": "CreateVcnRequestExample", "example": { "compartmentId": "ocid1.resource.oc1.iad.abcdefg123456", "cidrBlocks": [ "10.0.0.0/16" ], "displayName": "my-vcn", "dnsLabel": "myvcn", "freeformTags": { "key1": "value1" } } } ], "responseExamples": [ { "status": "200", "contentType": "application/json", "name": "CreateVcn200Example", "example": { "id": "ocid1.vcn.oc1.iad.abcdefg123456", "compartmentId": "ocid1.resource.oc1.iad.abcdefg123456", "displayName": "my-vcn", "cidrBlock": "10.0.0.0/16", "cidrBlocks": [ "10.0.0.0/16" ], "defaultDhcpOptionsId": "ocid1.resource.oc1.iad.abcdefg123456", "defaultRouteTableId": "ocid1.resource.oc1.iad.abcdefg123456", "defaultSecurityListId": "ocid1.resource.oc1.iad.abcdefg123456", "dnsLabel": "myvcn", "lifecycleState": "PROVISIONING", "timeCreated": "2026-04-18T10:30:00Z", "freeformTags": { "key1": "value1" } } }, { "status": "400", "contentType": "application/json", "name": "CreateVcn400Example", "example": { "code": "NotAuthorizedOrNotFound", "message": "Authorization failed or requested resource not found.", "status": 404 } } ] }