He allegedly used another cop’s body cam to peek at his own privates, and now a Brooklyn detective has been suspended without pay from the NYPD, according to a document obtained by The Post.

Det. Specialist Raymond Williams, of Bedford-Stuyvesant’s 79th Precinct, picked up another officer’s unattended body cam and recorded a 32-second clip showing his exposed testicles inside the precinct’s Special Operations Office on Oct. 2, the document shows.

Officer Michael Devonish had left his camera unattended while he used the bathroom, the document said.

Devonish saw the X-rated footage on his camera the next day, but didn’t make the proper notifications, according to the document.

It wasn’t until Nov. 20 that a civilian employee came across the crude clip and notified her supervisor, who told the department’s Internal Affairs Bureau.

Williams was suspended Friday following a departmental hearing.

Cops confirmed his suspension Saturday morning, adding “the incident is under investigation.”

His ID card, shield and two firearms were also seized, according to the document.