Updates a device comment
PUT /v1/device/{deviceID}/comment/{commentID}
Summary
Updates a device comment.
Details
Request body: JSON object. This endpoint updates the comment text from
value after HTML-encoding it, and only the comment creator can update the comment.
Authentication
No operation-level security requirement is documented here.
Parameters
| Name | In | Type | Required | Description | Example |
|---|---|---|---|---|---|
| deviceID | path | integer (int64) | Yes | The ID of the device that owns the comment. | 1 |
| commentID | path | integer (int64) | Yes | The ID of the comment to update. | 1 |
Request Body
Required: Yes
application/json
value(string, optional)
Example
{
"value": "Example value"
}
Responses
200
Success. No response body.
No response body schema documented.