:doc:`QConnect <../../qconnect>` / Client / delete_content_association

**************************
delete_content_association
**************************



.. py:method:: QConnect.Client.delete_content_association(**kwargs)

  

  Deletes the content association.

   

  For more information about content associations--what they are and when they are used--see `Integrate Amazon Q in Connect with step-by-step guides <https://docs.aws.amazon.com/connect/latest/adminguide/integrate-q-with-guides.html>`__ in the *Amazon Connect Administrator Guide*.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/DeleteContentAssociation>`_  


  **Request Syntax**
  ::

    response = client.delete_content_association(
        knowledgeBaseId='string',
        contentId='string',
        contentAssociationId='string'
    )
    
  :type knowledgeBaseId: string
  :param knowledgeBaseId: **[REQUIRED]** 

    The identifier of the knowledge base.

    

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

    The identifier of the content.

    

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

    The identifier of the content association. Can be either the ID or the ARN. URLs cannot contain the ARN.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`QConnect.Client.exceptions.ValidationException`

  
  *   :py:class:`QConnect.Client.exceptions.UnauthorizedException`

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

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

  