Synvo API EndpointsFile Management

[POST] Update File

Move or rename a file or directory

Moves a file or directory to a new location and updates all database references

POST
/file/move
X-API-Key<token>

In: header

srcstring

Source path (e.g., "/project/report.pdf")

deststring

Destination path (e.g., "/project/new_dir")

sub_user_name?string

User-level isolation name

Default"default"

Response Body

curl -X POST "https://api.synvo.ai/file/move" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'src=string&dest=string'
{
  "message": "string",
  "file_moves": [
    [
      "string",
      "string"
    ]
  ]
}
Empty
Empty
Empty
Empty