:doc:`DirectoryService <../../ds>` / Client / remove_tags_from_resource

*************************
remove_tags_from_resource
*************************



.. py:method:: DirectoryService.Client.remove_tags_from_resource(**kwargs)

  

  Removes tags from a directory.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveTagsFromResource>`_  


  **Request Syntax**
  ::

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

    Identifier (ID) of the directory from which to remove the tag.

    

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

    The tag key (name) of the tag to be removed.

    

  
    - *(string) --* 

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`DirectoryService.Client.exceptions.EntityDoesNotExistException`

  
  *   :py:class:`DirectoryService.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`DirectoryService.Client.exceptions.ClientException`

  
  *   :py:class:`DirectoryService.Client.exceptions.ServiceException`

  