Skip to main content

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

NameInTypeRequiredDescriptionExample
deviceIDpathinteger (int64)YesThe ID of the device that owns the comment.1
commentIDpathinteger (int64)YesThe 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.