Examples:
lxc profile assign foo default,bar
Set the profiles for "foo" to "default" and "bar".
Both lxc profile assign and lxc profile apply work. I think that originally it was only lxc profile apply but was changed to assign. And apply was kept for backward compatibility.