View a markdown version of this page

Untag resource - Amazon Textract

Untag resource

Amazon Textract resources like adapters and Amazon Textract Insights projects, blueprints, and jobs can be tagged using the TagResource operation. You can remove any tags you no longer need from a resource by using the UntagResource operation. When calling UntagResource, provide the Amazon Resource Name (ARN) of the resource that you want to remove tags from. Also include a list of the tag-specific key values that you want to remove from the resource.

To untag a resource with the AWS CLI or AWS SDK:

  • If you haven't already done so, install and configure the AWS CLI and the AWS SDKs. For more information, see Step 2: Set up the AWS CLI and AWS SDKs.

  • Use the following code to remove tags from a resource:

CLI
aws textract untag-resource --region us-east-1 arn:aws:textract:us-east-1:000000000000:/adapters/a1b2c3d4e5c6 --tag-keys Tag

For an Amazon Textract Insights project, blueprint, or job, use its ARN. For examples, see Tagging Amazon Textract Insights resources.