Unregister by using the command line

Use the unregister command to unregister a RHEL system from Red Hat Subscription Management Server.

Procedure

Run the unregister command as a root user or sudo, without any additional parameters.
# subscription-manager unregister

The system is unregistered from the Subscription Management Server, and the status 'System Not Registered' is displayed with the Register System.. button enabled.

To continue uninterrupted services, re-register the system with either of the management services. If you do not register the system with a management service, you may fail to receive the system updates.