# Replace email templates **PUT /api/email-templates** Create or replace a list of email templates. If an email template with the same language tag and template type already exists, its details will be updated. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ### Body: application/json (object) - **templates** (array[object]) ## Responses ### 200 The list of newly created or replaced email templates. #### Body: application/json (array[object]) - **tenantId** (string) - **id** (string) - **languageTag** (string) - **templateType** (string) - **details** (object) - **createdAt** (number) ### 400 Bad Request ### 401 Unauthorized ### 403 Forbidden ### 422 Unprocessable Content [Powered by Bump.sh](https://bump.sh)