POST
/
api
/
{projectId}
/
devices
/
create
Create device
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/{projectId}/devices/create \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "deviceId": "ac:87:a3:0a:2d:1b",
  "deviceType": "DISCO_L475VG_IOT01A",
  "ifNotExists": true
}'
{
  "success": true,
  "error": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

Body

application/json

Response

200 - application/json

OK

The response is of type object.