Members of the City Council are going to sock it to the NYPD again by introducing a bill that would force cops to get written or audio permission from a suspect before they could conduct a search, The Post has learned.

Under legislation being introduced Thursday, police officers would have to get consent for searches when they don’t have a warrant, aren’t making an arrest or don’t have probable cause.

Only two states — West Virginia and Colorado — have laws with similarly stringent requirements.

Suspects currently have the right to reject a search — but police have no obligation to notify them of that right and certainly don’t need written permission.

Police union leaders immediately blasted the measure as a free pass for potential criminals.

“This is the exact kind of poorly conceived idea from this City Council that starts with the belief that aggressively fighting crime to keep communities safe is a bad thing,” said Patrolmen’s Benevolent Association president Patrick Lynch.

“This kind of proposal makes it appear that the council is more interested in protecting criminals than keeping communities safe.”

Click for more from the New York Post.