Last updated 7 months ago
Delete a file from 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/delete', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "path": "text" }), }); const data = await response.json();
{ "success": false, "error": "text" }