deleteQuickResponse method
Deletes a quick response.
May throw AccessDeniedException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter knowledgeBaseId :
The knowledge base from which the quick response is deleted. 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.
Parameter quickResponseId :
The identifier of the quick response to delete.
Implementation
Future<void> deleteQuickResponse({
required String knowledgeBaseId,
required String quickResponseId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/knowledgeBases/${Uri.encodeComponent(knowledgeBaseId)}/quickResponses/${Uri.encodeComponent(quickResponseId)}',
exceptionFnMap: _exceptionFns,
);
}