You can't directly logout of WhatsApp on iPhone or Android, but you can delete the app or clear its data to essentially ...
You can delete a message on WhatsApp so that it will no longer appear in the chat for yourself, or for everyone else.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results