# Update email template details **PATCH /api/email-templates/{id}/details** Update the details of an email template by its ID. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **id** (string) The unique identifier of the email template. ### Body: application/json (object) - **subject** (string) The template of the email subject. - **content** (string) The template of the email body. - **contentType** (string("text/html") | string("text/plain")) The content type of the email body. (Only required by some specific email providers.) - **replyTo** (string) The reply name template of the email. If not provided, the target email address will be used. (The render logic may differ based on the email provider.) - **sendFrom** (string) The send from name template of the email. If not provided, the default Logto email address will be used. (The render logic may differ based on the email provider.) ## Responses ### 200 The updated email template. #### Body: application/json (object) - **tenantId** (string) - **id** (string) - **languageTag** (string) - **templateType** (string) - **details** (object) - **createdAt** (number) ### 400 Bad Request ### 401 Unauthorized ### 403 Forbidden ### 404 The email template was not found. [Powered by Bump.sh](https://bump.sh)