# Fix keyword tags on search imports (internal) **POST /admin/email/{caseId}/fix-search-tag-attribution** For emails imported into the case by a multi-keyword search, removes the keyword tags whose keyword does not appear in the email (sender, recipient, subject and manual tags stay) and recomputes the thread tags, optionally only for mailbox `providerId`. Safe to repeat; runs synchronously and reports how many emails and threads changed. 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 to fix ### Body: application/json (object) - **providerId** (string) Restrict the fix to a single email provider (mailbox) on the case. ## Responses ### 200 #### Body: application/json (object) - **data** (object) - **statusCode** (number) - **timestamp** (string(date-time)) [Powered by Bump.sh](https://bump.sh)