1. Front-end
HFS 3
  • Introduction
  • SendList over SSE
  • Front-end
    • List files
      GET
    • Upload
      PUT
    • Upload
      POST
    • Delete
      DELETE
    • Create folder
      POST
    • Refresh session
      GET
    • Login
      POST
    • Login SRP step 1
      POST
    • Login SRP step 2
      POST
    • Logout
      POST
    • Subscribe to notifications
      GET
    • File details
      GET
    • Rename entry
      POST
    • Move files
      POST
    • Copy files
      POST
    • Set comment
      POST
    • Folder size
      GET
    • Folder size progress
      GET
  • Admin
    • misc
      • get config
      • set config
    • accounts
      • add account
      • update account
      • list accounts
      • delete account
      • list usernames
      • get account
      • list admins
      • Change password with SRP
    • VFS
    • plugins
      • get plugin config
      • set plugin config
    • monitoring
    • log
  • Schemas
    • Schemas
    • DirEntry
    • inline_response_200
    • Session
    • folder_body
    • SrpStep1
    • UploadResult
    • Account
    • MultipartUploadResult
    • FolderSize
    • UploadMeta
    • Date
    • FileDetails
    • FileDetailsResponse
    • MoveFilesResponse
  1. Front-end

Move files

POST
/~/api/move_files
moves one or more files to another folder

Request

Header Params

Body Params application/json

Example
{
    "uri_from": [
        "string"
    ],
    "uri_to": "string"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'http://localhost/~/api/move_files' \
--header 'x-hfs-anti-csrf: 1' \
--header 'Content-Type: application/json' \
--data '{
    "uri_from": [
        "string"
    ],
    "uri_to": "string"
}'

Responses

🟢200
application/json
move results
Bodyapplication/json

Example
{
    "errors": [
        0
    ]
}
Modified at 2026-11-05 17:14:45
Previous
Rename entry
Next
Copy files
Built with