# Delete a mailbox's imported emails from a case (internal) **DELETE /admin/email/{caseId}/imported-emails/{providerId}** Deletes every email thread, email and attachment imported into the case from email account `providerId`, then rolls back the case's collection status for that account. Runs synchronously and reports how many threads were deleted; returns 404 for an unknown case or account. Super admin only. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Access token ## Parameters ### Path parameters - **caseId** (string) Id of the case the emails were imported into - **providerId** (string) Id of the UserEmailDataProvider (the imported email account) ## Responses ### 200 #### Body: application/json (object) - **data** (object) - **statusCode** (number) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)