Documentation
Sign inGet started

bird email templates versions list

Usage

Codevoorbeeld
bird email templates versions list <template-id> [flags]

Description

List every version of a template (the draft plus all published versions), newest first.
Returns a paginated JSON envelope; narrow with the filters below and page with --limit and --starting-after.

Examples

Codevoorbeeld
bird email templates versions list <template-id>
bird email templates versions list <template-id> | jq -r '.data[].id'
bird email templates versions list <template-id> --limit 50 --starting-after <cursor>

Options

Pagination

NameDescription
--ending-beforeCursor from the prev_cursor field of a previous list response. Returns items immediately before the cursor position in the current sort order.
--limit <n>Maximum number of items to return per page.
--starting-afterCursor from the next_cursor field of a previous list response. Returns items immediately after the cursor position in the current sort order.

Filters

NameDescription
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird email templates versions deleteDiscard the draft's changes
bird email templates versions getGet an email template version
bird email templates versions rollbackRoll back an email template
bird email templates versions submitSubmit an email template version