'{username}', 'apiKey' => '{apiKey}', )); // Set up Identity service $service = $client->identityService(); // Retrieve existing user $user = $service->getUser('{username}'); // And delete them... $user->delete();