Skip to main content
PUT
/
v1
/
game
/
files
/
{serverId}
/
rename
Rename/move files
curl --request PUT \
  --url https://api.waterfall.host/v1/game/files/{serverId}/rename \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "files": [
    {
      "from": "<string>",
      "to": "<string>"
    }
  ],
  "root": "/"
}
'

Authorizations

Authorization
string
header
required

API key generated from your Waterfall dashboard

Path Parameters

serverId
string
required

Body

application/json
files
object[]
required
root
string
default:/

Response

200

Files renamed