def clearStaticTunnelTemplate(user):
    """
        Generates ASA configuration to clear static IP allocation for users.

        :param user: username ids that has a unique address pool and tunnel group
        :type user: str

        :return: configuration for the ASA
        :rtype: str
    """

    config = ""

    # clear configure tunnel-group <USER>
    config += f"clear configure tunnel-group {user}\n"

    # no ip local pool <USER>
    config += f"no ip local pool {user}\n"

    return config