Using the V1 API, what is the best way to rename a project?

As far as I can tell I can Export the project JSON via the export API, modify the JSON then re-import it.

That seems quite fragile given that in the Matillion UI I can simply rename a project in the Manage Projects dialog.

Any ideas?

Many thanks,

 

David Prentice