Deleting a tag from a vector bucket - Amazon Simple Storage Service

Deleting a tag from a vector bucket

You can remove tags from S3 vector buckets. An AWS tag is a key-value pair that holds metadata about resources, in this case Amazon S3 vector buckets. For more information about tagging vector buckets, see Using tags with S3 vector buckets.

Note

If you delete a tag and later learn that it was being used to track costs or for access control, you can add the tag back to the vector bucket.

Permissions

To delete a tag from a vector bucket, you must have the following permission:

  • s3vectors:UntagResource

Troubleshooting errors

If you encounter an error when attempting to delete a tag from a vector bucket, you can do the following:

  • Verify that you have the required Permissions to delete a tag from a vector bucket.

Steps

You can delete tags from vector buckets by using the Amazon S3 console, the AWS Command Line Interface (AWS CLI), the Amazon S3 REST API, and AWS SDKs.

To delete tags from a vector bucket using the Amazon S3 console
  1. Sign in to the AWS Management Console and open the Amazon S3 console at https://eusc-de-east-1.console.amazonaws-eusc.eu/s3/.

  2. In the left navigation pane, choose vector buckets.

  3. Choose the vector bucket name.

  4. Choose the Properties tab.

  5. Scroll to the Tags section and select the checkbox next to the tag or tags that you would like to delete.

  6. Choose Delete.

  7. The Delete user-defined tags pop-up appears and asks you to confirm the deletion of the tag or tags you selected.

  8. Choose Delete to confirm.

For information about the Amazon S3 REST API support for deleting tags from a vector bucket, see the following section in the Amazon S3 Vectors API Reference:

UntagResource

To install the AWS CLI, see Installing the AWS CLI in the AWS Command Line Interface User Guide.

The following CLI example shows you how to delete tags from a vector bucket by using the AWS CLI. To use the command replace the user input placeholders with your own information.

aws s3vectors untag-resource \ --resource-arn arn:aws:s3vectors:us-east-1:012345678900:bucket/acc-bucket \ --tag-keys CostCenter Department