Deletes an Amazon Q in Connect message template entirely or a specific version of the message template if version is supplied in the request. You can provide the message template identifier as <code><message-template-id>:<versionNumber></code> to delete a specific version of the message template. If it is not supplied, the message template and all available versions will be deleted.
delete/knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}
Path parameters
knowledgeBaseIdstring required
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
messageTemplateIdstring required
The identifier of the message template. Can be either the ID or the ARN.
Response
Success
DeleteMessageTemplateResponse required