cURL
curl --request POST \ --url https://studio.edgeimpulse.com/v1/api/portals/{portalId}/files/rename \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "oldPath": "<string>", "newPath": "<string>" }'
{ "success": true, "error": "<string>" }
Rename a file on an upload portal (requires JWT auth).
Portal ID
OK
The response is of type object.
object