Skip to content

Rename

Renames a file or directory designated by src to dst.

Request

{
    "type": "rename",
    "src": "...",
    "dst": "..."
}

Fields

  • src: absolute or relative path to be renamed.

  • dst: absolute or relative path acting as the destination of the rename.

Response

{
    "type": "ok"
}