Enneo

File Manager

Rename or move a file

PATCH /files/manager/file

PATCH /files/manager/file

Request body

oldPathstringbodyrequired

No description.

newPathstringbodyrequired

No description.

Request Example

{
  "oldPath": "Audiodateien/musik.mp3",
  "newPath": "Audiodateien/neue-musik.mp3"
}

Responses

200 — File renamed successfully

Response Example

{
  "success": true
}

403 — Permission denied

404 — File not found

409 — Target file already exists

500 — Internal error