How to delete System Profiles for those registered with Red Hat Subscription Management (RHSM)?

Solution Verified - Updated -

Environment

  • Red Hat Customer Portal
  • Certificate Based Subscription
  • Red Hat Subscription Management (RHSM)
  • Red Hat Enterprise Linux

Issue

  • How to delete System Profiles from Red Hat Subscription Management (RHSM)?
  • How to delete System Profiles managed by subscription-manager or RHSM?

Resolution

Via WebUI

  • Delete system profile on Customer Portal
    1. Log in to the Red Hat Customer Portal.
    2. Click on Subscriptions at the upper left. Then click on Systems under the Manage header.
    3. Check the box to the left of the system to be deleted from the service.
    4. Click the Delete Selected box in the bottom left side of the page.
    5. Confirm the deletion and removal of the system by clicking the Delete Selected button.

  • After the deletion, please also execute this command in the system:

    # subscription-manager clean
    

    to clean useless subscription data.

Via Command Line

  • Delete system profile locally

    # subscription-manager remove --all
    # subscription-manager unregister
    # subscription-manager clean
    

More information on documentation:
* Red Hat Subscription Management documentation
* includes: Using and Configuring Red Hat Subscription Manager

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.