:doc:`CloudHSMV2 <../../cloudhsmv2>` / Client / untag_resource

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



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

  

  Removes the specified tag or tags from the specified CloudHSM cluster.

   

  **Cross-account use:** No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/UntagResource>`_  


  **Request Syntax**
  ::

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

    The cluster identifier (ID) for the cluster whose tags you are removing. To find the cluster ID, use  DescribeClusters.

    

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

    A list of one or more tag keys for the tags that you are removing. Specify only the tag keys, not the tag values.

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`CloudHSMV2.Client.exceptions.CloudHsmAccessDeniedException`

  
  *   :py:class:`CloudHSMV2.Client.exceptions.CloudHsmInternalFailureException`

  
  *   :py:class:`CloudHSMV2.Client.exceptions.CloudHsmInvalidRequestException`

  
  *   :py:class:`CloudHSMV2.Client.exceptions.CloudHsmResourceNotFoundException`

  
  *   :py:class:`CloudHSMV2.Client.exceptions.CloudHsmServiceException`

  
  *   :py:class:`CloudHSMV2.Client.exceptions.CloudHsmTagException`

  