⚠️ Note |
This API endpoint has been deprecated, please update to the latest version. |
Update an existing case comment.
curl -X PUT \
https://<<META.tenant.domain>>/api/v1/cases/<<case_id>>/comments/<<comment_id>> \
-H 'content-type: application/json' \
-H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>' \
-d '{
"value": "This is an updated comment"
}'
A successful request will return a JSON object describing the updated case comment.
{
"case_id": 42,
"id": 7508,
"action": "COMMENTED",
"value": "This is an updated comment",
"user": {
"id": 1,
"first_name": "Jane",
"last_name": "Doe",
"email": "jane@tines.io",
"avatar_url": "example.com/avatar"
},
"reactions": [
{
"emoji": ":heart:",
"reactants": [
{
"user_id": 1,
"user_name": "John Smith",
"reacted_at": "2024-03-12T10:06:38+00:00"
}
]
}
]
}