--- title: "Removing licenses using the CLI" slug: "removing-licenses-using-the-cli-1" tags: ["Endpoint Security (HX)", "Product Usage"] updated: 2026-09-10T17:37:59Z published: 2026-09-10T17:37:59Z canonical: "docs.trellix.com/removing-licenses-using-the-cli-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Removing licenses using the CLI Use the CLI commands in this topic to remove licenses. Prerequisites - Admin or Operator access To remove licenses: 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal                     ``` 2. List the installed licenses: ``` hostname (config) # show licenses License 1: LK2-FIREEYE_APPLIANCE-    Feature:          FIREEYE_APPLIANCE    Description:      FireEye Appliance Type    Valid:            yes    Start date:       2016/12/01 (ok)    Tied to appl ID:  8699351EB1D5 (ok)    Product:          HX (ok)    Type:             PROD (ok)    Tied to model:    FireEyeHXVM (ok)    Agreement:        EULA (ok)    Appliance role:   master    Active:           yes License 2: LK2-MD_ACCESS-    Feature:          MD_ACCESS    Description:      Managed Defense VPN Access    Valid:            yes    Start date:       2016/12/01 (ok)    End date:         2017/12/01 (ok)    Tied to appl ID:  8699351EB1D5 (ok)    Active:           yes License 3: LK2-CONTENT_UPDATES-    Feature:          CONTENT_UPDATES    Description:      Content updates    Valid:            yes    Start date:       2016/12/01 (ok)    End date:         2017/12/01 (ok)    Tied to appl ID:  8699351EB1D5 (ok)    Sharing:          all (ok)    Active:           yes License 4: LK2-FIREEYE_SUPPORT-    Feature:          FIREEYE_SUPPORT    Description:      FireEye support    Valid:            yes    Start date:       2016/12/01 (ok)    End date:         2017/12/01 (ok)    Tied to appl ID:  8699351EB1D5 (ok)    Sharing:          all (ok)    Active:           yes ``` 3. Specify the license ID to remove an individual license. For example, `4` is the license ID for the Support license shown in the previous example. ``` hostname (config) # license delete 4   ``` 4. Save your changes. ``` hostname (config) # write memory             ``` ### Note The `show licenses` command output in this procedure shows the basic licenses installed on a Network Security appliance. The output is similar for Endpoint Security (HX) appliances. :