:doc:`LakeFormation <../../lakeformation>` / Client / delete_lf_tag_expression

************************
delete_lf_tag_expression
************************



.. py:method:: LakeFormation.Client.delete_lf_tag_expression(**kwargs)

  

  Deletes the LF-Tag expression. The caller must be a data lake admin or have ``DROP`` permissions on the LF-Tag expression. Deleting a LF-Tag expression will also delete all ``LFTagPolicy`` permissions referencing the LF-Tag expression.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeleteLFTagExpression>`_  


  **Request Syntax**
  ::

    response = client.delete_lf_tag_expression(
        Name='string',
        CatalogId='string'
    )
    
  :type Name: string
  :param Name: **[REQUIRED]** 

    The name for the LF-Tag expression.

    

  
  :type CatalogId: string
  :param CatalogId: 

    The identifier for the Data Catalog. By default, the account ID in which the LF-Tag expression is saved.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`LakeFormation.Client.exceptions.EntityNotFoundException`

  
  *   :py:class:`LakeFormation.Client.exceptions.InvalidInputException`

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

  
  *   :py:class:`LakeFormation.Client.exceptions.OperationTimeoutException`

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

  