The wife of a senior Israeli politician has posted a racist tweet about Barack Obama, suggesting he is 'black and weak'.

TV host Judy Nir Mozes Shalom, who is married to Interior Minister Silvan Shalom, uploaded the offensive message on Sunday before quickly deleting it, insisting it was a joke.

She wrote: 'Do u know what Obama Coffee is? Black and weak.'

Scroll down for video

Shocking: TV host Judy Nir Mozes Shalom, who is married to Interior Minister Silvan Shalom, uploaded the offensive message on Sunday, before quickly deleting it

Diplomacy: On of the primary responsibilities of her husband (left) is to oversee the strategic relationship between the United States and Israel. He is pictured with Obama in 2006 when he was Foreign Minister

After causing a stir in Israeli media, Mozes Shalom apologized to Obama.

'President Obama I shouldn't have written the inappropriate joke I heard,' she wrote. 'I like people no matter their race and religion.'

'Sorry if I caused any offence to anyone. I hope I will stay married when my husband will land and hear what I did.'

She suffered a backlash on social media, but claims the strongest response was from her other half.

Historically the U.S. and Israel have been allies. But there has been recent friction in the relationship, with prominent politicians such as Benjamin Netanyahu, criticizing the President's dealings with Iran over nuclear weapons.

One of the primary responsibilities of Mozes Shalom's husband is overseeing the strategic relationship between Israel and the United States.

He has been pictured with Obama in the past, while his wife also enjoyed a trip to the White House in 2005.

Backtracking: After causing a stir in Israeli media, Mozes Shalom (right) quickly apologized to Obama after deleting the offensive tweet