Update email template

Update an existing email template. **Features:** - Partial updates supported (only provide fields to change) - Automatic validation and variable extraction - Version tracking with updatedAt timestamp - Preserves creation metadata **Validation:** - Template content and structure validation - Variable consistency checking - Required field validation - Warning generation for potential issues **Use Cases:** - Template content updates - Configuration changes - Bug fixes and improvements - A/B testing variations

Authentication

AuthorizationBearer

JWT token for authentication. Use ‘test-jwt-token’ for development.

Path parameters

idstringRequired

Request

This endpoint expects an object.
namestringOptional
subjectstringOptional
htmlstringOptional
textstringOptional
descriptionstringOptional
variableslist of stringsOptional
categorystringOptional
isActivebooleanOptional
tagslist of stringsOptional
metadataobjectOptional
createdBystringOptional

Response

This endpoint returns an object.
successboolean
dataobject or null
errorobject or null