Command

nylas email templates update

Update a template

Written by Qasim Muhammad Staff SRE

What does nylas email templates update do?

The nylas email templates update command updates a template. It is part of the Local Email Templates commands, which reusable templates stored on disk with {{variable}} placeholders.

Usage

nylas email templates update

Flags

FlagDescription
--body string(-b)New email body
--category string(-c)New template category
--name string(-n)New template name
--subject string(-s)New email subject
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations

Examples

The nylas email templates update command updates a template.

JSON output for scripting

nylas email templates update --json

Filter by body

nylas email templates update --body <value> --json

Troubleshooting

Command not found or fails

Run `nylas auth config` and `nylas auth login` to authenticate first.

Recommended guides

Run nylas email templates update --help for full help output.