Device names must be unique within a project.
Retention period for recordings on a device running Foxlet, in seconds. Set to 0 to retain recordings indefinitely.
A key-value map from device custom property keys to their values. Unknown keys are ignored. Omitted keys are unchanged. Set a value to null to remove it.
Whether this device is enabled. Devices are enabled by default, unless they are created with a device token with preapproved set to false. Disabled devices show up in the device list, but you can't upload recordings for them. A device token linked to a disabled device does not grant access to the API.
Whether remote access is enabled for this device. When disabled, the device cannot establish new remote access sessions.
- Productionhttps://api.foxglove.dev/v1/devices/{nameOrId}
{ "name": "string", "retainRecordingsSeconds": 0, "properties": {}, "enabled": true, "remoteAccessEnabled": true, "autoDeleteAfterImport": true }
Update device
Retention period for recordings on a device running Foxlet, in seconds. Set to 0 to retain recordings indefinitely.
A key-value map of the custom properties associated with this device.
Whether this device is enabled. Devices are enabled by default, unless they are created with a device token with preapproved set to false. Disabled devices show up in the device list, but you can't upload recordings for them. A device token linked to a disabled device does not grant access to the API.
Whether remote access is enabled for this device. When disabled, the device cannot establish new remote access sessions.
{ "id": "string", "name": "string", "projectId": "string", "retainRecordingsSeconds": 0, "properties": { "property1": "string", "property2": "string" }, "enabled": true, "remoteAccessEnabled": true, "autoDeleteAfterImport": true }