The United Nations special envoy for Libya said on Monday he has resigned for health reasons days after his latest effort at peacemaking failed to achieve a breakthrough in the conflict.