:doc:`Glacier <../../glacier>` / Client / remove_tags_from_vault

**********************
remove_tags_from_vault
**********************



.. py:method:: Glacier.Client.remove_tags_from_vault(**kwargs)

  

  This operation removes one or more tags from the set of tags attached to a vault. For more information about tags, see `Tagging Amazon Glacier Resources <https://docs.aws.amazon.com/amazonglacier/latest/dev/tagging.html>`__. This operation is idempotent. The operation will be successful, even if there are no tags attached to the vault.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/glacier-2012-06-01/RemoveTagsFromVault>`_  


  **Request Syntax**
  ::

    response = client.remove_tags_from_vault(
        vaultName='string',
        TagKeys=[
            'string',
        ]
    )
    
  :type accountId: string
  :param accountId: 

    The ``AccountId`` value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single ' ``-``' (hyphen), in which case Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

        Note: this parameter is set to "-" bydefault if no value is not specified.


  
  :type vaultName: string
  :param vaultName: **[REQUIRED]** 

    The name of the vault.

    

  
  :type TagKeys: list
  :param TagKeys: 

    A list of tag keys. Each corresponding tag is removed from the vault.

    

  
    - *(string) --* 

    

  
  :returns: None
  **Exceptions**
  
  *   :py:class:`Glacier.Client.exceptions.InvalidParameterValueException`

  
  *   :py:class:`Glacier.Client.exceptions.MissingParameterValueException`

  
  *   :py:class:`Glacier.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Glacier.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`Glacier.Client.exceptions.NoLongerSupportedException`

  

  **Examples**

  The example removes two tags from the vault named examplevault.
  ::

    response = client.remove_tags_from_vault(
        TagKeys=[
            'examplekey1',
            'examplekey2',
        ],
        accountId='-',
        vaultName='examplevault',
    )
    
    print(response)

  
  Expected Output:
  ::

    {
        'ResponseMetadata': {
            '...': '...',
        },
    }

  