v1

latestOpenAPI 3.0.32026-07-13153243440.8 KB
Devices

Update a device

Use 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.

patch/v1/projects/{projectId}/devices/{deviceId}

Path parameters

projectIdstring required

Project ID

deviceIdstring required

Device ID

Request body

addHardwareIdstring[]
addTagIdstring[]
blueprintIdstring
cohortIdstring

Optional Cohort ID to assign the device to. Setting to an empty string removes the device from its cohort without assigning it to a new one.

enabledboolean
hardwareIdsstring[]
namestring
removeHardwareIdstring[]
removeTagIdstring[]
tagIdsstring[]

Response

A successful response.