Skip to main content
POST
/
documents
/
move
Move a file or folder
curl --request POST \
  --url https://api.sftpsync.io/documents/move \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "connectionId": "<string>",
  "from": "<string>",
  "to": "<string>",
  "force": true
}
'
{
  "moved": true
}

Authorizations

x-api-key
string
header
required

Body

application/json
connectionId
string
required
from
string
required
to
string
required
force
boolean

Response

Moved

moved
enum<boolean>
required
Available options:
true