:doc:`QBusiness <../../qbusiness>` / Client / delete_attachment

*****************
delete_attachment
*****************



.. py:method:: QBusiness.Client.delete_attachment(**kwargs)

  

  Deletes an attachment associated with a specific Amazon Q Business conversation.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/qbusiness-2023-11-27/DeleteAttachment>`_  


  **Request Syntax**
  ::

    response = client.delete_attachment(
        applicationId='string',
        conversationId='string',
        attachmentId='string',
        userId='string'
    )
    
  :type applicationId: string
  :param applicationId: **[REQUIRED]** 

    The unique identifier for the Amazon Q Business application environment.

    

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

    The unique identifier of the conversation.

    

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

    The unique identifier for the attachment.

    

  
  :type userId: string
  :param userId: 

    The unique identifier of the user involved in the conversation.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`QBusiness.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`QBusiness.Client.exceptions.LicenseNotFoundException`

  
  *   :py:class:`QBusiness.Client.exceptions.ThrottlingException`

  
  *   :py:class:`QBusiness.Client.exceptions.ValidationException`

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

  