Edit a template
documentedUpdate a template.
PUT /templates/{templateIdOrAlias}Templatesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.postmarkapp.com/templates/{{$templateIdOrAlias}}" \
-X PUT \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "X-Postmark-Server-Token: {{POSTMARKAPP_SERVER_TOKEN}}" \
-d '{"Name": "{{$name}}", "Subject": "{{$subject}}", "HtmlBody": "{{$htmlBody}}", "TextBody": "{{$textBody}}", "Alias": "{{$alias}}", "LayoutTemplate": "{{$layoutTemplate}}"}'