templates

Publish a template to SES

Creates or updates the SES email template for this template's compiledHtml/compiledText, then marks it PUBLISHED. Requires compiledHtml — the API does not compile TSX, so provide it via PATCH first if it isn't already set.

post/v1/templates/{id}/publish

Request

  • Base URL: https://api.wraps.dev
  • URL: https://api.wraps.dev/v1/templates/{id}/publish
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

awsAccountIdstring

AWS account row id

Response

successboolean required
sesTemplateNamestring required
publishedAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.