CmdID / aws / aws resource-groups
aws resource-groups untag
Deletes tags from a specified resource group. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To remove tags from a resource group
The following untag example removes any tag with the specified key from the resource group itself, not its members.
aws resource-groups untag --arn arn:aws:resource-groups:us-west-2:123456789012:group/tbq-WebServer --keys QueryTypeIdentify--arnThe Amazon resource name (ARN) of the resource group from which to remove tags.--keysThe keys of the tags to be removed.Its output
{
"Arn": "arn:aws:resource-groups:us-west-2:123456789012:group/tbq-WebServer",
"Keys": [
"QueryType"
]
}For more information, see Manage tags in the AWS Resource Groups User Guide.
Options
--arnThe Amazon resource name (ARN) of the resource group from which to remove tags.--keysThe keys of the tags to be removed.