cURL
curl --request PUT \ --url https://z52mnqg347.execute-api.eu-west-3.amazonaws.com/main/comment/v1/{commentId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "comment": "This is a comment." } '
{ "data": { "id": 1, "profileId": 42, "comment": "This is a comment.", "metadata": { "key": "value" }, "commentType": 1, "anomalyId": 5, "updatedAt": "2025-05-06T12:00:00.000Z", "createdAt": "2025-05-01T09:30:00.000Z" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Unique identifier of the comment.
1
Content of the comment.
2000
"This is a comment."
The comment has been updated
Show child attributes