Devices
Update a device
Updates the specified device identifier. Any parameters that have not been provided will be left unchanged.
PATCH
/
devices
/
{id}
Authorizations
Authorization
string
headerrequiredAuthenticate with bearer_token
you obtained from /login endpoint.
Path Parameters
id
string
requiredFlatPeak device_id
.
Body
application/json
reference_id
string
A reference that is meaningful to you, for example, an ID from your system.
Response
200 - application/json
This object represents a device or another asset of a compatible type.
id
string
requiredFlatPeak unique object id
.
object
string
requiredRepresents the object’s type.
live_mode
boolean
requiredHas the value true if the object exists in live mode or the value false if the object exists in test mode.
reference_id
string
requiredA reference that is meaningful to you, for example, an ID from your system.
last_seen
string
Timestamp of when the device has last queried the service.
time_created
string
requiredTime when the object was created, in UTC.
account_id
string
requiredFlatPeak account ID.
Was this page helpful?