Skip to main content
PATCH
/
apps
/
{appId}
/
files
Renomear/Mover Arquivo
curl --request PATCH \
  --url https://dashboard.gratian.pro/api/v2/apps/{appId}/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "from": "<string>",
  "to": "<string>"
}
'

Authorizations

Authorization
string
header
required

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

Path Parameters

appId
string
required

Body

application/json
from
string
required

Caminho atual do arquivo

to
string
required

Novo caminho/nome do arquivo

Response

200 - undefined