The two Brooklyn detectives accused of forcing an 18-year-old woman to perform sex acts on them have been placed on modified duty, as has their NYPD supervisor, according to law-enforcement sources Friday.

The Brooklyn South narcotics officers were identified as Richard Hall and Eddie Martins.

They have been placed on modified duty along with their supervisor, Sgt. John Espey, who was stripped of his gun and shield for alleged failure to supervise.

A Brooklyn teen told police that one of the officers raped her and both forced her to give them oral sex in a Chipotle parking lot in Coney Island on Sept. 15, after threatening to take her to the police station.

The cops claimed the acts were consensual, according to sources.