Loading...
Rename a file on an upload portal (requires JWT auth).
Portal ID
S3 path (within the portal)
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
const response = await fetch('https://studio.edgeimpulse.com/v1/api/portals/{portalId}/files/rename', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "oldPath": "text", "newPath": "text" }), }); const data = await response.json();
{ "success": false, "error": "text" }