# Archive a child tag

## Overview

[Video: Archive a child tag](https://www.youtube.com/watch?v=kgly_naY9NA)

This flow describes how to archive a child [tag](https://docs.ohc.network/concepts/platform/tagging.md) from the parent tag's detail page. Care sets the child tag's status to Archived.

## Pre-requisites

* You or another administrator created the child tag under a root tag.
* The tag that you archive is a child tag. Care shows the Archive action only for child tags.
* To archive a root tag, use the [Edit a tag](https://docs.ohc.network/flows/platform/tagging/edit-a-tag.md) flow.
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Create Tag Config on Facility | Lets you archive a child tag. You must hold it through a role in the facility's Administration department. Facility Admin and Admin have this permission. |

Note: Care shows Archive to everyone who can open the tag. Without this permission, Care refuses the change.

## Steps

### 1. Open the parent tag

Open the detail page of the parent tag. The parent tag is the root tag that holds the child tag. See [View tags](https://docs.ohc.network/flows/platform/tagging/view-tags.md) for the steps.

![The name of the Diet Orders parent tag on its detail page, above Tag details and the Child tags section](/assets/images/archive-a-child-tag-1-c798574d07978aaac9501276d5668a62.webp)

### 2. Find the child tag

Go to the Child tags section. Find the row of the child tag that you want to archive.

![The row of the Low Salt Diet child tag in the Child tags section, with Active status and View and Archive buttons](/assets/images/archive-a-child-tag-2-c0a53d2181b2f540792674dcb8944d96.webp)

### 3. Select Archive

Select Archive on that row. Care opens the Archive Child Tag confirmation dialog.

![The Archive Child Tag dialog, asking to confirm the archive of the Low Salt Diet child tag and warning that it cannot be undone](/assets/images/archive-a-child-tag-3-96038667dd3a460420ba26a3ae8fc093.webp)

### 4. Confirm the action

Read the warning in the dialog. The dialog states that you cannot undo this action. Select Archive to archive the child tag.

Note: Despite the warning, you can make an archived child tag active again. Open the child tag, select Edit tag and set Status to Active. See [Edit a tag](https://docs.ohc.network/flows/platform/tagging/edit-a-tag.md).

![The row of the Low Salt Diet child tag, now with Archived status and only a View button, with the toast Child tag archived successfully](/assets/images/archive-a-child-tag-4-7a1bb54cee87ebf8d1efd719be7d7999.webp)

## Expected Outcome

* Care sets the child tag's Status to Archived.
* Care shows the message "Child tag archived successfully".
* If the action fails, Care shows an error message.

## Related

Concepts:

* [Tag](https://docs.ohc.network/concepts/platform/tagging.md)

Flows:

* [Create a tag](https://docs.ohc.network/flows/platform/tagging/create-a-tag.md)
* [Create a child tag](https://docs.ohc.network/flows/platform/tagging/create-a-child-tag.md)
* [View tags](https://docs.ohc.network/flows/platform/tagging/view-tags.md)
* [Edit a tag](https://docs.ohc.network/flows/platform/tagging/edit-a-tag.md)
