In 2011? That was a UN sanctioned operation after United Nations Security Council Resolution 1973.
Exactly and Russia (then Medvedev the “president” and Putin PM) abstained, hoping the intervention to have been circumscript. The aftermath of the intervention for the Kremlin was betrayal, which lead the “military tower” taking back control of the Kremlin from the “business tower”.