:doc:`EndUserMessagingSocial <../../socialmessaging>` / Client / untag_resource

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



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

  

  Removes the specified tags from a resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/UntagResource>`_  


  **Request Syntax**
  ::

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

    The Amazon Resource Name (ARN) of the resource to remove tags from.

    

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

    The keys of the tags to remove from the resource.

    

  
    - *(string) --* 

    

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

    
    ::

      {
          'statusCode': 123
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **statusCode** *(integer) --* 

        The status code of the untag resource operation.

        
  
  **Exceptions**
  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.ValidationException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.InvalidParametersException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.ThrottledRequestException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.InternalServiceException`

  