Switch language

Sandbox

Explore every endpoint with simulated responses — no credentials required.

POST /file/edit

Edit File

Update file metadata (name, password, expiry).

File ID

New file name

Password protect the file

Reset form

Click "Send request" to see a simulated response.

Code Examples

curl -X POST "https://rediafile.com/cloud/api/v2/file/edit" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "file_id=file_84729" \
  -d "name=renamed.pdf" \
  -d "password=mypass"