Rename file from portal

Rename file from portal

post

Rename a file on an upload portal (requires JWT auth).

Authorizations
Path parameters
portalIdintegerRequired

Portal ID

Body
oldPathstringRequired

S3 path (within the portal)

newPathstringRequired

S3 path (within the portal)

Responses
200
OK
application/json
post
POST /v1/api/portals/{portalId}/files/rename HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 35

{
  "oldPath": "text",
  "newPath": "text"
}
200

OK

{
  "success": true,
  "error": "text"
}

Last updated

Was this helpful?