Rename sample

Rename sample

post

Sets the file name of the sample. This name does not need to be unique, but it's highly recommended to do so.

Authorizations
Path parameters
projectIdintegerRequired

Project ID

sampleIdintegerRequired

Sample ID

Body
namestringRequired

New name for this sample

Example: faulty-machine2.A3de
Responses
200
OK
application/json
post
POST /v1/api/{projectId}/raw-data/{sampleId}/rename HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 31

{
  "name": "faulty-machine2.A3de"
}
200

OK

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

Last updated

Was this helpful?