Step 3: Update email notification content
PUT {{apiPath}}/environments/{{envID}}/templates/general/contents/{{emailContentID}}
The PUT /environments/{{envID}}/templates/general/contents/{{emailContentID}}
operation updates the email notification template that you created in step 2.
Request Body
{"locale"=>"en", "subject"=>"Test Email", "variant"=>"variant_C", "body"=>"This is an update to your email template.Your OTP is ${otp}", "deliveryMethod"=>"Email"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |