POST
/
api
/
{projectId}
/
devices
/
{deviceId}
/
rename
Rename device
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/{projectId}/devices/{deviceId}/rename \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "Jan'\''s development board"
}'
{
  "success": true,
  "error": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

deviceId
string
required

Device ID

Body

application/json
name
string
required

New name for this device

Example:

"Jan's development board"

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

error
string

Optional error description (set if 'success' was false)