'{username}', 'apiKey' => '{apiKey}', )); // 2. Create Compute service object $service = $client->computeService(null, '{region}'); // 3. Get your existing server $server = $service->server('{serverId}'); // 4. Update it - here we'll change its name, but you can also update its // `accessIPv4' and `accessIPv6' attributes. $server->update(array( 'name' => 'new_awesome_name' ));