Step 5: Update SMS notification content

PUT {{apiPath}}/environments/{{envID}}/templates/general/contents/{{smsContentID}}

The PUT /environments/{{envID}}/templates/general/contents/{{smsContentID}} operation updates the SMS notification content that you created in step 4.

Request Body

{"locale"=>"en", "variant"=>"variant_C", "content"=>"${user.username}, your updated one-time password is ${otp}.", "deliveryMethod"=>"SMS"}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring