:doc:`S3Tables <../../s3tables>` / Client / untag_resource

**************
untag_resource
**************



.. py:method:: S3Tables.Client.untag_resource(**kwargs)

  

  Removes the specified user-defined tags from an Amazon S3 Tables resource. You can pass one or more tag keys.

   

  .. note::

    

    For a list of S3 resources that support tagging, see `Managing tags for Amazon S3 resources <https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#manage-tags>`__.

    

    Permissions  

  For tables and table buckets, you must have the ``s3tables:UntagResource`` permission to use this operation.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/s3tables-2018-05-10/UntagResource>`_  


  **Request Syntax**
  ::

    response = client.untag_resource(
        resourceArn='string',
        tagKeys=[
            'string',
        ]
    )
    
  :type resourceArn: string
  :param resourceArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the Amazon S3 Tables resource that you're removing tags from. The tagged resource can be a table bucket or a table. For a list of all S3 resources that support tagging, see `Managing tags for Amazon S3 resources <https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html#manage-tags>`__.

    

  
  :type tagKeys: list
  :param tagKeys: **[REQUIRED]** 

    The array of tag keys that you're removing from the S3 Tables resource. For more information, see `Tagging for cost allocation or attribute-based access control (ABAC) <https://docs.aws.amazon.com/AmazonS3/latest/userguide/tagging.html>`__.

    

  
    - *(string) --* 

    

  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`S3Tables.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`S3Tables.Client.exceptions.ForbiddenException`

  
  *   :py:class:`S3Tables.Client.exceptions.NotFoundException`

  
  *   :py:class:`S3Tables.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`S3Tables.Client.exceptions.ConflictException`

  
  *   :py:class:`S3Tables.Client.exceptions.BadRequestException`

  