Last updated 10 months ago
Was this helpful?
Rename a file on an upload portal (requires JWT auth).
/api/portals/{portalId}/files/rename
Portal ID
S3 path (within the portal)
curl -L \ --request POST \ --url 'https://studio.edgeimpulse.com/v1/api/portals/{portalId}/files/rename' \ --header 'x-api-key: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{"oldPath":"text","newPath":"text"}'
{ "success": true, "error": "text" }