The officer concerned today submitted his resignation and it was accepted with immediate effect.
Commander Allan Gibson said: "This officer's behaviour was completely unacceptable and it is right that he resigned."
The officer chose to resign immediately prior to his suspension being put in place.
More top news
MI5 face mounting pressure over claims the IS executioner 'Jihadi John', named yesterday as a London graduate, was known to them
Labour leader Ed Miliband is due to set out his party's plans on how it would cut tuition fees.
New drug driving laws are to come into effect next week, including laws on some prescribed medications.