Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Removing tags

Focus mode
Removing tags - Amazon Inspector

You can remove tags from Amazon Inspector resources. These resources include suppression rules and CIS scan configurations. Tags help you categorize AWS resources based on specific criteria. This topic describes how to remove tags from Amazon Inspector resources.

Removing tags from Amazon Inspector resources

You can remove tags from suppression rules and CIS scan configurations. The following procedures describe how to remove tags in the console and with the Amazon Inspector API.

Removing tags in the console

You can remove tags from Amazon Inspector resources in the console.

Removing tags from suppression rules

You can remove a tag from a suppression rule by editing the suppression rule to no longer include the tag. For more information, see Editing a suppression rule.

Removing tags from a CIS scan configuration

You can remove a tag from a CIS scan configuration by editing the CIS scan configuration to no longer include the tag. For more information, see Editing a CIS scan configuration.

Removing tags with the Amazon Inspector API

You can remove a tag from an Amazon Inspector resource with the Amazon Inspector API.

Removing tags from Amazon Inspector resources

Use the UntagResource API to remove tags from Amazon Inspector resources.

The following snippet shows an example of how to remove tag from an Amazon Inspector resource using UntagResource. You must include the ARN of the resource and key for tag in the command. The following example uses an empty resource ARN for a suppression filter. The key is CostAllocation. For information about resource types for Amazon Inspector, see Actions, resources, and condition keys for Amazon Inspector2 in the Service Authorization Reference.

aws inspector2 untag-resource \ --resource-arn "arn:${Partition}:inspector2:${Region}:${Account}:owner/${OwnerId}/cis-configuration/${CISScanConfigurationId}" \ --tag-keys CostAllocation \ --region us-west-2
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.