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/t/feature-request-api-safe-mode/29465/1
http://forum.mikrotik.com/t/safe-mode-api/55104/1
Regards
Martin