Security
ApiKey(Required scopes: deviceTokens.create)
Device ID associated with the newly created token. If not given, the token will be "unassociated" with a device and will only be usable after using it to create a device.
Project ID associated with the newly created token. If deviceId is provided, this must match the project of the device. If deviceId is omitted, this is required.
- Productionhttps://api.foxglove.dev/v1/device-tokens
{ "deviceId": "string", "projectId": "string", "enabled": true, "preapproved": true }
A new device token
Response
{ "id": "string", "createdAt": "2019-08-24T14:15:22Z", "deviceId": "string", "projectId": "string", "enabled": true, "preapproved": true, "token": "string" }