Hides threads from the thread list, or brings hidden threads back. Nothing is deleted.
POST
/local-emails/{caseId}/threads/visibility
curl \
--request POST 'http://api.example.com/local-emails/{caseId}/threads/visibility' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"action": "hide",
"ids": [
"string"
]
}'
Request examples
{
"action": "hide",
"ids": [
"string"
]
}
Response examples (200)
{
"data": {
"action": "hide",
"requested": 3,
"matched": 3,
"skipped": 0,
"modified": 3
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}