Update file extension for an existing document (REST API)

I have a tool using the REST API to bulk update documents. I'm using the /objects/(type)/(objectid)/(version)/files/(file)/content endpoint to update document contents, but we've just hit a case where someone has tried to upload a document of a different type than the existing one (pdf over a .doc). Is there any way to change the extension for a file that already exists in M-Files with the REST API?

Parents Reply Children
No Data