To mark and purge disabled or inactive banned hashes from the Managed Banned Hashes page
curl -XDELETE -H "X-Auth-Token: <api-token>" "https://127.0.0.1/api/v1/banning/blacklist/<md5-hash>" -k or curl -XDELETE -H "X-Auth-Token: `psql -p 5002 cb -t -c 'select auth_token from cb_user where id = 1;'`" "https://127.0.0.1/api/v1/banning/blacklist/<md5-hash>" -k
{"result": "success"} or Ban for md5 '<md5-hash>' does not existTo Purge Inactive or Disabled Hashes :
/usr/share/cb/cbbanning purge-inactive
Removed <number> inactive bans
Banned hashes can be disabled but not removed in the console. Removal of the hashes needs to happen from the backend.