Hi,
it would be great to be able to enable safe mode by API. There are a few old posts concerning this but I did not find a public feature request in the ROS7 section of the forum, so here it is.
http://forum.mikrotik.com/viewtopic.php?t=32907
http://forum.mikrotik.com/viewtopic.php?t=60279
Regards
Martin