POST
/
api
/
portals
/
{portalId}
/
files
/
rename
Rename file from portal
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>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

portalId
integer
required

Portal ID

Body

application/json

Response

200 - application/json

OK

The response is of type object.