bird email templates delete
Usage
bird email templates delete <template-ref> [flags]Description
Delete a template from authoring and lists, freeing its slug for reuse in the workspace. Published versions remain readable and previewable by template ID and version ID; the draft and old slug lookup are unavailable. The deletion cannot be undone, and a later send naming the template is rejected. A template a scheduled or accepted broadcast still references cannot be deleted, and returns a conflict; so does a template an active Verify configuration pins as its custom email sender's body, directly or for one country. The conflict reports only how many verification configurations pin it; clear the pin in the dashboard's Verify settings. A scheduled message send using the template does not block the delete, and is rejected with generation_failure when it falls due.
This is destructive and cannot be undone; pass --yes to confirm.
Examples
bird email templates delete <id> --yesOptions
Safety
| Name | Description |
|---|---|
--idempotency-key | Deduplication key; a retry with the same key won't act twice |
--yes | Confirm the action (required; the CLI never prompts) |
Options
| Name | Description |
|---|---|
--dry-run | Print the resolved request without sending it, then exit |
Related
| Name | Description |
|---|---|
bird email templates check | Check email templates for mail-client support, size, and links |
bird email templates create | Create an email template and its first editable draft |
bird email templates duplicate | Duplicate an email template |
bird email templates get | Get an email template |
bird email templates list | List email templates |
bird email templates parameters | Get published email template parameters |
bird email templates preview | Preview a template with sample values |
bird email templates update | Update an email template |
Ressources associées
Poursuivez avec la documentation, les guides et les exemples sur ce sujet.