API: Renaming files or folders

Target URL /api.php/files/rename/
Required scope modify
HTTP Method GET/POST
Output format JSON

Request Parameters Reference

Parameter Type Description
path string The FileRun path of the file/folder.
newName string The new name.