Skip to main content
PATCH
/
apps
/
{app_id}
/
files
Move a file
curl --request PATCH \
  --url https://shardcloud.app/api/apps/{app_id}/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "path": "<string>",
  "new_path": "<string>"
}'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

app_id
string<uuid>
required

Body

application/json
path
string
required
new_path
string
required

Response

File moved successfully

message
string
I