Update a Device
Update the properties of a specified device
Updates any of the following properties of a specified device:
name
(orproperties.name
)custom_metadata
is_managed
/devices/update
OK
Request
Specify the desired device by including the corresponding device_id
in the request body. In addition, in the request body, include the properties that you want to update, along with the desired replacement values.
Request Body Parameters
Parameter | Type | Description |
---|---|---|
| String Required | ID of the desired device. |
| String Optional | Replacement name for the device. |
| JSON object Optional | Custom metadata for the device. Specify up to 50 keys, with key names up to 40 characters long. Accepts string or Boolean values. Strings are limited to 500 characters. For more information, see Adding Custom Metadata to Devices. |
| Boolean Optional | Replacement value to indicate whether Seam manages the device. |
Sample Request
Response
Returns a Boolean ok
status indicator (with the exception of the Java SDK).
Sample Response
Last updated