Authorizations
The API key to use for authentication. Retrieve your API key from the Miru dashboard.
Path Parameters
The unique identifier of the device.
"dvc_123"
Body
The new name of the device. If excluded from the request, the device name is not updated.
"Robot 1"
Response
Successfully updated the device.
device
"device"
ID of the device.
"dvc_123"
Name of the device.
"My Device"
The status of the device.
- Inactive: The miru agent has not yet been installed / authenticated
- Activating: The miru agent is currently being installed / authenticated (should only last for a few seconds)
- Online: The miru agent has successfully pinged the server within the last 60 seconds.
- Offline: The miru agent has not successfully pinged the server within the last 60 seconds (e.g. network issues, device is powered off, etc.)
inactive
, activating
, online
, offline
Timestamp of when the device was last made an initial connection (this is not the same as the last time the device was seen).
"2021-01-01T00:00:00Z"
Timestamp of when the device was last disconnected (this is not the same as the last time the device was seen).
"2021-01-01T00:00:00Z"
Timestamp of when the device was created.
"2021-01-01T00:00:00Z"
Timestamp of when the device was last updated.
"2021-01-01T00:00:00Z"