This endpoint allows you to create a new device.
Device created.
API key is incorrect or not provided.
User or API key does not have permission to access the resource.
{- "name": "string",
- "type": "car",
- "description": "string",
- "metadata": "string"
}
{- "id": 0,
- "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5",
- "name": "string",
- "type": "car",
- "description": "string",
- "metadata": "string",
- "status": "idle",
- "tracksCount": 0,
- "lastLocation": {
- "latitude": -90,
- "longitude": -180
}, - "secret": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}