There are multiple definitions - click on the translation that matches your context.

作废

动词

full

invalidate

verb

Definitions of invalidate

to make something such as a document, contract, ticket, law, etc no longer legally effective or accepted

Choosing to travel to a certain country against government or World Health Organization advice could invalidate a travel or health insurance policy.