# Managing Products and Versions (Archive and Removal)

You can archive, unarchive, and permanently remove both products and product versions within the application.

#### Archiving and Unarchiving a Product

**To Archive a Product:**

1. In the Products page, open product drop-down list, hover over the product you wish to archive.
2. Click the Archive icon (often represented by a trash can).
   * Result: The product is archived and will no longer appear in active lists.

**To Unarchive a Product or Create a New One with the Same Name:**

1. Add a new product using the exact same name as the archived product.
2. The application will present you with two options:
   * Unarchive the existing product: Restores the archived product and all its versions to the active list.
   * Discard the existing and create a new product: Permanently deletes the archived product and creates a brand new product with the same name.
3. Select the option that matches your scenario and click Save.

#### Archiving and Unarchiving a Product version

**To Archive a Product Version:**

1. In the Products page, select the product and then open the product version drop-down list, hover over the specific version you wish to archive.
2. Click the Archive icon (often represented by a trash can).
   * Result: The product version is archived and will no longer appear in active lists for that product.

**To Unarchive a Product Version or Create a New One with the Same Name:**

1. Attempt to add a new product version using the exact same version name as the archived version.
2. The application will present you with two options:
   * Unarchive the existing product version: Restores the archived version to the active list.
   * Discard the existing and create a new product version: Permanently deletes the archived version and creates a brand new version with the same name.
3. Select the appropriate option and click Save.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helm.docs.medcrypt.com/manage-sboms/managing-products-and-versions-archive-and-removal.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
