'{username}', 'apiKey' => '{apiKey}', )); // 2. Obtain a Networking service object from the client. $networkingService = $client->networkingService(null, '{region}'); // 3. Get subnet. $subnet = $networkingService->getSubnet('{subnetId}'); // 4. Update subnet. $subnet->update(array( 'name' => 'My updated subnet', 'hostRoutes' => array( array( 'destination' => '1.1.1.0/24', 'nexthop' => '192.168.17.19' ) ), 'gatewayIp' => '192.168.62.155' ));