Unfortunately, there is no easy way on the CSM to clear or archive configurations, it has to be done by hand. I would suggest copying the running configuration to the disk/bootflash on the sup (copy running disk0:backup.cfg), then deleting the configuration you want to remove. If you need to rollback the config, you can just do a "copy disk0:backup.cfg running-config".
Sidenote - A lot of people ask about the command "clear module csm linecard-configuration". All it does is force the CSM to re-download a copy of the configuration stored on the MSFC to its own flash chip. This does not delete the configuration on the MSFC itself unfortunately.
Join us live on Thursday, April 8 at 10 am PT (and on demand after) as we join Cisco and HashiCorp executives to discuss the importance of IaC automation, Intersight Service for Terraform, and how to better manage hybrid cloud infrastructure at scale...
Join us live on Thursday, April 8 at 10 am PT (and on demand after) where Cisco and HashiCorp executives will discuss the importance of IaC automation, Cisco Intersight Service for Hashicorp Terraform, and how to better manage hybrid cloud infrastructure...
How to START with Infrastructure as a code for Cisco Cloud Solutions
ACI Ansible Modules Documentation Guide
Cisco Collections on Ansible Galaxy
Cisco DevNet Learning Labs
DevNet Introduction to ACI and Ansible
DevNet Introduction to ACI a...
Here's how to get notified about Cisco software releases, like the Application Policy Infrastructure Controller (APIC) (APIC Software)
Go to software.cisco.com - where you download all Cisco software
Select Software Download