Create or update email template
POST
header
X-Session-Token<token>Kratos session JWT token. Alternative to cookie authentication for non-browser clients.
application/json- body
html_body*stringsubject*stringtype*stringOK
application/json- response
message*stringtemplate*curl -X POST 'https://api.omnibase.tech/api/v1/email/templates' \ -H 'Content-Type: application/json' \ -d '{ "html_body": "<h1>Welcome!</h1>", "subject": "Welcome to Test Platform", "type": "test_welcome"}'Example Response
{ "message": "string", "template": { "created_at": "2019-08-24T14:15:22Z", "html_body": "string", "id": "string", "subject": "string", "tenant_id": "string", "type": "string", "updated_at": "2019-08-24T14:15:22Z" }}