Skip to main content
PATCH
cURL
This endpoint has a rate limit of 1 request every 3 seconds, shared with the other endpoints that change files (upload, delete, rename, move and create).
Items are moved one by one. If one of them fails, the items before it have already been moved.

Authorizations

Authorization
string
header
required

Your CamposCloud API token, sent as Authorization: Bearer <token>.

Path Parameters

appId
string
required

ID of the application.

Pattern: ^[a-f0-9]{24}$

Body

application/json
filePath
string[]
required

Paths of the files or directories to move. Between 1 and 50 paths. None of them can be the application root.

Required array length: 1 - 50 elements
Required string length: 1 - 1024
Example:
pathTarget
string
required

Directory to move the items into. Use / for the application root.

Required string length: 1 - 1024
Example:

"lib"

Response

Every item was moved.

message
string
Example:

"Files moved successfully"