unregister command. This removes the system's entry from the subscription service, unsubscribes it from any subscriptions, and, locally, deletes its identity and entitlement certificates.

unregister.
[root@server1 ~]# subscription-manager unregister