Set feedback read-state
/deals/{dealId}/feedback/read-state{seen: true} marks the deal's unread feedback read as the token's user (optional ids[] narrows it);
items already read keep their first reader and affected counts only the items it marked.
{seen: false} resets them. A user_id in the body is rejected.
Deprecated: withdrawn on 2027-06-30. POST /deals/{deal_id}/feedback/actions/mark-read replaces it;
every answer carries a Link header with rel="successor-version". seen: false has no successor.
Path parameters
The deal's public uuid.
Request body
application/json, required
Read-state to set; true marks read, false resets to unread.
Optional subset of feedback ids to mark; omit to mark all of the deal's feedback.
{
"seen": true,
"ids": []
}Responses
{
"data": {
"deal_id": "9f8e7d6c-5b4a-4938-8271-6a5b4c3d2e1f",
"user_id": "6f1c2e8a-1b2c-4d5e-8f90-1a2b3c4d5e6f",
"seen": true,
"affected": 3
}
}Authorization failed. error.code is one of org_disabled,
ip_blocked, missing_scope, scope_disabled, user_disabled.
Request validation failed (HTTP 422). The body is either the Laravel
validation envelope (message + field-keyed errors) or the API error
envelope for domain rejections (e.g. form_type_not_supported,
folder_locked, parent_not_found, folder_not_empty).
Examples
curl -X PATCH https://your-org-domain/kong/core/api/v2/deals/{dealId}/feedback/read-state\
-H "Authorization: Bearer $HELM_API_KEY"\
-H "Content-Type: application/json"\
-d '{
"seen": true,
"ids": []
}'