:doc:`ConnectWisdomService <../../wisdom>` / Client / delete_content

**************
delete_content
**************



.. py:method:: ConnectWisdomService.Client.delete_content(**kwargs)

  

  Deletes the content.

  

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


  **Request Syntax**
  ::

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

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

    

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

    The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

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

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

  