Cortex
Cortex copied to clipboard
How I can deleted a user present on GUI
How I can deleted a user present on GUI
I tried from command:
curl -X DELETE "IP:9200/cortex_2/user/[user_mail]"
But i got the following error:
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Rejecting mapping update to [cortex_2] as the final mapping would have more than 1 type: [_doc, user]"}],"type":"illegal_argument_exception","reason":"Rejecting mapping update to [cortex_2] as the final mapping would have more than 1 type: [_doc, user]"},"status":400}r
Hi,
I don't know if this helps, but I had the same problem,
rather than using: curl -X DELETE "IP:9200/cortex_2/user/[user]"
try replacing user with _doc: curl -X DELETE "IP:9200/cortex_2/_doc/[user]"
it worked for me (thehive 3.5 and Cortex 3.1)
Regards
Thanks I will try. Many thanks