# Edit a tag

## Overview

[Video: Edit a tag](https://www.youtube.com/watch?v=P8nhMj1uCmY)

This flow describes how to change the details of an existing [tag](https://docs.ohc.network/concepts/platform/tagging.md) in Care. Use this flow also to archive a root tag.

## Pre-requisites

* You or another administrator created the tag at your facility.
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Create Tag Config on Facility | Lets you update a tag. Facility Admin and Admin have this permission. |

## Steps

### 1. Open the tag

Open the detail page of the tag that you want to change. See [View tags](https://docs.ohc.network/flows/platform/tagging/view-tags.md) for the steps.

![The detail page of High Fall Risk with its Tag details card outlined; Expiry reads \&quot;Does not expire\&quot;.](/assets/images/edit-a-tag-1-e9b0ebc92f6597f68309ea6c1d761da2.webp)

### 2. Select Edit tag

Select **Edit tag**. Care opens the same form that you use to create a tag. The form shows the current values of the tag.

![The detail page of High Fall Risk with the Edit tag button outlined.](/assets/images/edit-a-tag-2-e4439941439991422871c11720b07902.webp)

![The Edit tag config sheet showing the current values of the tag, with Display name \&quot;High Fall Risk\&quot; outlined and the Resource field disabled.](/assets/images/edit-a-tag-3-d1e7cbf3cd8dec34a29a9d8e1d4b7495.webp)

### 3. Change the details

Change the fields that you want to update.

| Components | What it captures |
| - | - |
| Display name | The name of the tag that users see. |
| Category | The group that the tag belongs to. |
| Priority | The order of the tag against other tags. |
| Status | The state of the tag, for example Active or Archived. |
| Description | More information about the purpose of the tag. |
| Color | The color of the tag's badge on records. Select **Shuffle Color** to pick another color, or **Assign Color** if the tag has none. |
| Expire automatically | Whether Care removes the tag from a record after a set time. |
| Expire after | The time after which Care removes the tag, in days, hours, and minutes. Care shows this field only when Expire automatically is on. |
| Allow changing expiry | Whether users can set their own expiry when they apply the tag. |
| Facility Organisation | The department that manages the tag. The detail page of the tag shows it as Managing Organization. |

Note: The Resource field stays disabled. You cannot change the record type that a tag applies to after you create the tag.

Note: A change to the expiry settings applies only when a user applies the tag after the change. A tag that is already on a record keeps its expiry time.

Note: If you turn off Expire automatically and save, Care removes the Expire after value from the tag.

To archive a root tag, set **Status** to **Archived**. A root tag has no separate **Archive** button. A child tag has a one-click archive action. See [Archive a child tag](https://docs.ohc.network/flows/platform/tagging/archive-a-child-tag.md).

![The Expiry section of the form, outlined: Expire automatically on, Expire after 3 days, and Allow changing expiry on.](/assets/images/edit-a-tag-4-f3572c01f674eabc32647359714aad24.webp)

### 4. Save the tag

Select **Update tag config**. Care shows the message "Tag Config updated successfully".

![The bottom of the Edit tag config sheet with the Update tag config button outlined.](/assets/images/edit-a-tag-5-3805c0485992386cd6ad0f1df6c2ac3b.webp)

![The detail page of High Fall Risk after saving, with the Expiry item outlined: \&quot;Removed 3 days after it is applied; users can change this when applying\&quot;, and the message \&quot;Tag Config updated successfully\&quot;.](/assets/images/edit-a-tag-6-2219f3f0bcc28efde2acdcb554f20e34.webp)

## Expected Outcome

* Care stores the new details of the tag.
* Care shows the message "Tag Config updated successfully".
* If you set the status to Archived, the tag is archived.

## 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)
* [Archive a child tag](https://docs.ohc.network/flows/platform/tagging/archive-a-child-tag.md)
