Skip to main content

Updates a device health record

PUT /v1/devicehealth/{deviceHealthID}

Summary​

Updates a device health record.

Details​

Request body: JSON object. Updates the stored

healthJSON for the specified record after validating device ownership.

Authentication​

No operation-level security requirement is documented here.

Parameters​

NameInTypeRequiredDescriptionExample
deviceHealthIDpathinteger (int64)YesThe ID of the device health record to update.1

Request Body​

Required: Yes

application/json​

  • deviceName (string, optional)
  • deviceSerial (string, optional)
  • healthJSON (string, optional)

Example

{
"deviceName": "WearableDevice",
"deviceSerial": "10001234",
"healthJSON": "Example value"
}

Responses​

200​

Success

application/json​

Not documented here.

Example

{
"deviceHealthID": 501
}