cURL
curl --request PUT \ --url https://management.stytch.com/pwa/v3/projects/:project_slug/email_templates/:template_id \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "sender_information": { "from_local_part": "<string>", "from_domain": "<string>", "from_name": "<string>", "reply_to_local_part": "<string>", "reply_to_name": "<string>" }, "prebuilt_customization": { "button_border_radius": 123, "button_color": "<string>", "button_text_color": "<string>", "font_family": "ARIAL", "text_alignment": "LEFT" }, "custom_html_customization": { "template_type": "LOGIN", "html_content": "<string>", "plaintext_content": "<string>", "subject": "<string>" } } '
{ "request_id": "<string>", "email_template": { "template_id": "<string>", "name": "<string>", "sender_information": { "from_local_part": "<string>", "from_domain": "<string>", "from_name": "<string>", "reply_to_local_part": "<string>", "reply_to_name": "<string>" }, "prebuilt_customization": { "button_border_radius": 123, "button_color": "<string>", "button_text_color": "<string>", "font_family": "ARIAL", "text_alignment": "LEFT" }, "custom_html_customization": { "template_type": "LOGIN", "html_content": "<string>", "plaintext_content": "<string>", "subject": "<string>" } }, "status_code": 123 }
Update updates an email template for a project.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Request type
Show child attributes
Successful response
Response type