Problem Statement
The customer wanted to delete not used facts and a way to perform the same via API or Ansible playbook.
Example:
eg, if the earlier custom facts is: A,B,C,D and I have uploaded a new custom fact for only A,B,C,E,F it is not able to delete the not D data which is falsely getting synced to other database and creating false errors.
User Experience & Workflow
Customers can upload facts with 'subscription-manager facts --upload' but are not able to clean old facts from Satellite.
Command '# foreman-rake facts:clean' will only remove "fact_names" that don't have any associated "fact_values" with them.
This is only useful if we have "fact_names" that are no longer used and want to get rid of them.
Requirements
The customer requesting API for deleted not used facts from Satellite.
Business Impact