v1
latestOpenAPI 3.1.02026-08-04409.4 KBCreate Device
API that creates new device in the system
post/device
Headers
Content-Typestring
Authorizationstring
Bearer token
Request body
Response
200
Example response
{
"data": {
"userId": 18512,
"schemaId": 1,
"groupId": 1,
"id": 4532157,
"name": "John's Device",
"model": "cityos-air-v1",
"addOn": "2017-01-17T14:55:23",
"editOn": "2017-01-17T14:55:23",
"active": true,
"identification": "47:7e:11:2c:69:24",
"indoor": true
}
}