You can remove tags from an ApsaraDB for MongoDB instance when they are no longer needed. A tag that is not attached to any other instances is automatically deleted.
Prerequisites
Log on to the MongoDB console with an Alibaba Cloud account. RAM users cannot manage or use tags.
Usage notes
-
You can remove up to 20 tags at a time.
-
When you remove a tag from all its associated instances, it is automatically deleted.
-
Removing tags does not affect the running state of an instance. After all tags are removed from an instance, you can no longer filter for it by tag.
Remove tags
-
Log on to the ApsaraDB for MongoDB console.
-
In the left-side navigation pane, click Replica Set Instances, Sharded Cluster Instances, or Serverless Instances based on the instance type.
-
In the upper-left corner of the page, select the instance's resource group and region.
-
You can remove tags in batches or from a single instance.
Remove tags in a batch
-
Select the instances, and in the lower-left corner, click Batch Remove Tags.
-
In the Batch Remove Tags dialog box, select the tags to remove, then click Remove * Tags.
-
When the Tags are edited. message appears, click Close.
Remove tags from a single instance
-
For the target instance, hover over the
icon in the Tag column, and click Edit. -
Click the
icon next to the tag to remove. -
Click Confirm.
-
When the Tags are edited. message appears, click Close.
-
Delete tags
A tag is automatically deleted after it is removed from all associated instances.