Update a device
Changed onUse the PUT method to replace a device in its entirety, or the PATCH method to replace a subset of the device properties.
For the PATCH method, hardware IDs and tags can be added or removed with the add_... and remove_... properties respectively, or the entire set of hardware IDs or tags can be replaced by assigning a value to their respective properties.
Request
- Base URLhttps://api.golioth.io
- URLhttps://api.golioth.io/v1/projects/{projectId}/devices/{deviceId}
- AuthAPI key in header x-api-key and API key in header Authorization
Path parameters
Project ID
Device ID
Request body
Response
A successful response.
Changes
- info
added the new optional request property
- info
added the optional property
/to the response with the status
- info
- warning
deleted the
queryrequest parameterupdateMask - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
//to the response with the status
- warning