The party was a hoax. In the sentence how is the word hoax used?

Answer :

The party was fake.

Meaning it was a myth.

Hoax = something that is not true