Christophe,
if I end up doing anything more sophisticated I will almost certainly adopt the REST API. In this particular case I was just trying to add a pile of devices to a development instance to get up and running quickly and the CLI was sufficient for that. Thanks,
-David