🧪 API Sandbox

Test Rediafile Cloud API v2 endpoints live. Responses are simulated — no real credentials required.

Edit File Metadata

Rename, reclassify, or relocate a file programmatically.

POST https://rediafile.com/cloud/api/v2/file/edit

Parameters

Auth token.
File id.
New file name.

Response

Select an endpoint and click "Send Request" to see a simulated response.
const params = new URLSearchParams();
const data = new FormData();
data.append('access_token', 'demo_token_abc123');
data.append('file_id', '10245');
data.append('name', 'renamed_report.pdf');

const resp = await fetch('https://rediafile.com/cloud/api/v2/file/edit', {
  method: 'POST',
  body: data
});
const json = await resp.json();
console.log(json);