The pastor of a California church may not sue Vimeo, a Delaware corporation, over its decision to delete his account after warnings that his postings violated the company’s policy against content that promotes gay conversion therapy, the U.S. Court of Appeals for the Second Circuit ruled Thursday.

A unanimous panel of the appeals court said Vimeo, the internet video services firm based in New York, was protected from the suit by Section 230 of the Communications Decency Act, which grants immunity to interactive computer service providers, like social media companies or video platforms, that make a good-faith effort to restrict offensive content.