A city correction officer was suspended Wednesday when a disturbing rant calling for “cop killers” to “stand up” came to light on a Facebook account she shares with her husband — infuriating fellow law-enforcement members.

“F–K THE POLICE…. ITS TIME WE SHOOT BACK!!! COP KILLERS STAND UP!!!!” reads the all-caps screed posted to the joint account of Rikers Island-assigned Capt. La Shonda Stanley and her husband, Rashid.

The diatribe referenced a pair of recent attacks in which cops were drenched with buckets of water in the city.

“Y’ALL UPSET ABOUT SOME PIGS GETTING WATER THROWN ON THEM,” it continues. “THEY’RE LUCKY THEY DIDN’T GET SHOT WHILE MAKING AN ARREST!. ALL THE INNOCENT BLACK MEN AND WOMEN KILLED AT THE HANDS OF THESE PIGS.”

The hateful ramblings, signed “Mr. Stanley,” left cops feeling incensed feeling and betrayed by Rashid Stanley’s wife.

“She’s supposed to be a member of law enforcement and we’re supposed to have each other’s backs,” fumed one police source.

“The public is against us, but when other law-enforcement is against you, we’re really in trouble.”

Stanley — a Department of Corrections employee since 2004 who, according to public records, made $91,943 in taxpayer dollars last year — threw her husband under the bus Wednesday, insisting that he was the one who authored the sick post.

“Oh, I didn’t make those comments,” said Stanley as she arrived at her Brooklyn home. “Yeah, that’s my husband’s comment.”

DOC nevertheless decided to make an example of her, suspending Stanley pending an ongoing investigation into the troubling message.

“I will not tolerate this type of behavior from anyone in my department against members of the NYPD or any other law enforcement officer in this country,” said DOC Commissioner Cynthia Brann in a statement.

Stanley’s union, the Correction Captains’ Association, similarly offered her no shelter from the fallout.

“It’s really embarrassing to have anything like this posted online,” said President Patrick Ferraiuolo. “We certainly don’t condone what was said. We are quite disappointed. We support the men and women of the New York Police Department.”

The diatribe also references the recent decision by federal prosecutors not to pursue charges against Staten Island cop Daniel Pantaleo related to the 2014 death of Eric Garner.

“Y’ALL FORGOT ‘ERIC GARDNER’ [sic] KILLER JUST GOT OFF WITH MURDER, ON CAMERA!” reads the post, which was private and not available for public viewing.

The hateful writing even puts in the cross hairs “so called good cops” who insist wrongdoers are just bad apples tarnishing the reputation of honest law-enforcement.

“DEATH TO YOU SCUMBAGS ALSO, YOU STAND BY AND ALLOW YOUR FELLOW OFFICERS TO DO WRONG, YOU GUILTY AS WELL!” the post reads.

Another law enforcement source called the post “an affront to all law-enforcement men and women who try to make this city safe.”

“It’s even more disgusting that this is a supervisor who’s supposed to set an example,” said the source.

A voicemail message left seeking Rashid Stanley’s side of the story wasn’t returned.