Etymology
Today it means: Used to express (as though facetiously polite) the abrupt or dismissive end of a conversation, statement, etc. Full definition →
From k + thx + bye, literally “OK, thanks, bye”.
Etymology from Wiktionary, CC BY-SA 4.0.