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

const res = await fetch('https://rediafile.com/cloud/api/v2/file/edit', {
  method: 'POST',
  headers: { 'Authorization': `Bearer ${token}` },
  body: new URLSearchParams({
    file_id: 'file_84729',
    name: 'renamed.pdf',
    password: 'mypass'
  }),
});
const data = await res.json();