Made an issue for the API/CLI: http://projects.theforeman.org/issues/5253