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
| Name | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| deviceHealthID | path | integer (int64) | Yes | The 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
}