Skip to main content
POST
/
files
/
move
Move file
curl --request POST \
  --url https://www.dench.com/api/v1/files/move \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "from": "string",
  "to": "string"
}
'
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": "<string>",
    "details": "<unknown>"
  }
}

Authorizations

Authorization
string
header
required

Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.

Body

application/json
from
string
required

Source workspace path.

to
string
required

Destination workspace path.

Response

Successful response