v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1494674591.3 KB

Deletes the attachment file from the Amazon Q in Connect message template that is referenced by <code>$LATEST</code> qualifier. Attachments on available message template versions will remain unchanged.

delete/knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/attachments/{attachmentId}

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. It cannot contain any qualifier.

attachmentIdstring required

The identifier of the attachment file.

Response

Success

DeleteMessageTemplateAttachmentResponse required