Devices
Create a new device
Changed onCreate a new device with a unique name in an existing project. The tags, blueprint and cohort must already have been created.
If no hardware ID is specified, a new hardware ID is generated. The device will also be assigned a unique device ID that can be used to fetch it later.
post/v1/projects/{projectId}/devices
Request
- Base URLhttps://api.golioth.io
- URLhttps://api.golioth.io/v1/projects/{projectId}/devices
- AuthAPI key in header x-api-key and API key in header Authorization
Path parameters
projectIdstring required
Project ID
Request body
Response
A successful response.
Changes
- info
added the new optional request property
- info
added the optional property
/to the response with the status
- info
- warning
removed the request property
- warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
//to the response with the status
- warning