def remove(config, username, filename, force):
        """Remove user's SSH public key from their LDAP entry."""
        client = Client()
        client.prepare_connection()
        user_api = UserApi(client)
        key_api = API(client)
        key_api.remove(username, user_api, filename, force)