Devices
Update
Update a device by ID.
patch/devices/{device_id}
Path parameters
device_idstring required
Example:dvc_123
The unique identifier of the device.
Query parameters
expandDeviceExpansion[]
Fields to expand on the device resource.
[ "current_release" ]
Request body
Example request
{
"name": "Robot 1"
}Response
Successfully updated the device.
Example response
{
"object": "device",
"id": "dvc_123",
"name": "My Device",
"status": "online",
"agent_version": "v1.0.0",
"last_connected_at": "2021-01-01T00:00:00Z",
"last_disconnected_at": null,
"created_at": "2021-01-01T00:00:00Z",
"updated_at": "2021-01-01T00:00:00Z"
}