Permanently deletes threads from the case, with their emails and attachments, and updates the case's data counts.
DELETE
/local-emails/{caseId}/threads
curl \
--request DELETE 'http://api.example.com/local-emails/{caseId}/threads' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"threadIds": [
"string"
]
}'
Request examples
{
"threadIds": [
"string"
]
}
Response examples (200)
{
"data": {
"message": "Done",
"isSuccess": true
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}