Update a thing
Updates a thing's metadata. Requires an API key with the write action scoped to
the thing. Place context is resolved server-side from the thing id.
Authorizations
API key passed in the header.
Path Parameters
The thing id.
Body
The fields to update.
propertiesobjectTyped properties to set or update (validated against the thing type's schema).
propertiesToDeletearray<string>Property keys to remove from the device.
attributesobjectArbitrary user-defined attributes to set or update (merged into the existing set).
attributesToDeletearray<string>Attribute keys to remove from the device.
thingNamestringNew device name, if changing.
thingDescriptionstringNew description, if changing.
addressstringNew address, if changing.
manufacturerstringNew manufacturer, if changing.
modelstringNew hardware model, if changing.
isFirstPartynull | booleanWhether the device is first-party; omit to leave unchanged.
thingManufacturerIdstringNew external manufacturer id, if changing (must remain unique within the thing type).
longitudenumber | string<double>New longitude; 0 leaves it unchanged.
^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$latitudenumber | string<double>New latitude; 0 leaves it unchanged.
^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$altitudenumber | string<double>New altitude in meters; 0 leaves it unchanged.
^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$integrationIdsnull | arrayReplacement set of integration ids, if changing.
levelIdstringNew level id within the site (site devices only).
Response
Updated.