QConnect / Client / delete_content
delete_content¶
- QConnect.Client.delete_content(**kwargs)¶
Deletes the content.
See also: AWS API Documentation
Request Syntax
response = client.delete_content( knowledgeBaseId='string', contentId='string' )
- Parameters:
knowledgeBaseId (string) –
[REQUIRED]
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
contentId (string) –
[REQUIRED]
The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
QConnect.Client.exceptions.ValidationExceptionQConnect.Client.exceptions.ConflictExceptionQConnect.Client.exceptions.UnauthorizedExceptionQConnect.Client.exceptions.AccessDeniedExceptionQConnect.Client.exceptions.ResourceNotFoundException