You can detach a tag from a resource when you no longer require the tag. Iif a tag is detached from the target resource, and is not attached to any other resource, the tag is automatically deleted.

  • The Delete Tags function detaches one or more tags from an instance at a time.
    Note Currently, this function is only available for instances. It is unavailable for other resource types.
  • The Edit Tags function detaches tags one by one.
    Note You can detach up to 20 tags from a resource at a time.

Unbind tags from instances using the tag deletion function

Currently, the Delete Tags function is only available for instances.

To delete one or more tags, follow these steps:

  1. Log on to the ECS console.
  2. In the left-side navigation pane, click Instances.
  3. Select the target region.
  4. Select the instances from which you want to detach tags from the instance list.
    Note You can also filter instances by tag and select the required instance or instances.
  5. Click  More > Instance Settings > Delete Tag.
  6. In the Delete Tag dialog box, enter the Tag Key and Tag Value of the tag or tags you want to detach.
  7. Click OK.

To check whether the tags are successfully detached, use the Edit Tag function of the instance or click Tags in the left-side navigation pane of the ECS console.

Unbind tags from resources using the tag edit function

The Edit Tags function detaches one or more tags from a resource.

To detach one or more tags from a resource, follow these steps:

  1. Log on to the ECS console.
  2. In the left-side navigation pane, select the required resource type for the detach operation, such as Instances, Disks, Snapshots, Images, or Security Groups.
    Note The block storage function is now in beta. For more information, see block storage FAQ Learn more.
  3. Select the target region.
  4. In the resource list, select the resource for which you want to detach tags.
    Note You can also filter resources by tag and select the required resource or resources.
  5. Click Edit Tag at the bottom of the resource list.
  6. In the Edit Tags dialog box, click the delete icon next to a tag.
  7. Click Confirm.

To check whether the tags are successfully detached, use the Edit Tags function of the resource or click Tags in the left-side navigation pane of the ECS console.