CmdID

CmdID / aws / aws securityhub

aws securityhub untag-resource

Removes one or more tags from a resource. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To remove a tag value from a resource

The following untag-resource example removes the Department tag from the specified hub resource.

aws securityhub untag-resource --resource-arn "arn:aws:securityhub:us-west-2:123456789012:hub/default" --tag-keys "Department"Identify
--resource-arnThe ARN of the resource to remove the tags from.
--tag-keysThe tag keys associated with the tags to remove from the resource.

This command produces no output.

For more information, see AWS::SecurityHub::Hub in the AWS CloudFormation User Guide.

Options

2 in the AWS CLI reference
--resource-arnThe ARN of the resource to remove the tags from.
--tag-keysThe tag keys associated with the tags to remove from the resource.