Stops an import job that has not finished. Emails already imported stay in the case.
POST
/email-data/{caseId}/cancel-import-job/{jobId}
curl \
--request POST 'http://api.example.com/email-data/{caseId}/cancel-import-job/{jobId}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"message": "Done",
"isSuccess": true
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}