Skip to main content

Archive a message template

Archive a template when it should no longer be used for new customer messages. This is a destructive lifecycle change and requires confirmation.

Prompt

Inspect message template <MESSAGE_TEMPLATE_ID> and prepare to archive it. Show its name, channel, purpose, status, published version, and whether it has unpublished changes. Explain what archival prevents, then ask for one final confirmation. Make no change if the template is already archived.

The agent inspects the current resource with get_message_template, then calls archive_message_template only after you approve the exact template and consequence.

Sample response

Message template archived

The template is no longer available for updates, previews, publication, or new sends through MCP.

Archive result
Template
Holiday hours
tmpl_example_holiday
Channel
SMS
Published version
2
Status
Archived

Illustrative values. The exact presentation depends on the MCP client.

Archiving a template does not retract messages that were already sent and does not delete their delivery records.