Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_knowledge_base

ConnectWisdomService.Client.delete_knowledge_base(**kwargs)

Deletes the knowledge base.

Note

When you use this API to delete an external knowledge base such as Salesforce or ServiceNow, you must also delete the Amazon AppIntegrations DataIntegration. This is because you can't reuse the DataIntegration after it's been associated with an external knowledge base. However, you can delete and recreate it. See DeleteDataIntegration and CreateDataIntegration in the Amazon AppIntegrations API Reference .

See also: AWS API Documentation

Request Syntax

response = client.delete_knowledge_base(
    knowledgeBaseId='string'
)
Parameters
knowledgeBaseId (string) --

[REQUIRED]

The knowledge base to delete content from. Can be either the ID or the ARN. URLs cannot contain the ARN.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • ConnectWisdomService.Client.exceptions.ConflictException
  • ConnectWisdomService.Client.exceptions.ValidationException
  • ConnectWisdomService.Client.exceptions.AccessDeniedException
  • ConnectWisdomService.Client.exceptions.ResourceNotFoundException