Rename file from dataset

Rename file from dataset

post

Rename a file in a dataset

Authorizations
Path parameters
organizationIdintegerRequired

Organization ID

datasetstringRequired

Dataset name

Body
oldPathstringRequired

S3 path (within the portal)

newPathstringRequired

S3 path (within the portal)

Responses
200
OK
application/json
post
POST /v1/api/organizations/{organizationId}/dataset/{dataset}/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?