also: ネタバラシ
noun
spoiling; revealing a trick; giving it away
Refers to revealing a story's twist, a magic trick's secret, or the punchline of a joke. Often used in entertainment contexts.
映画のネタばらしをしないでください。
Please don't spoil the movie.
手品のネタばらしはタブーだ。
Revealing the secret of a magic trick is taboo.