Modifies an email template.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TemplateId |
integer |
Yes |
The template ID. |
409481 |
| TemplateName |
string |
Yes |
The template name. Maximum length: 30 characters. |
verification code |
| TemplateSubject |
string |
No |
The subject of the email template. This parameter is required only when the templatetype is email. Maximum length: 256 characters. |
REAL'EN OPEN TONNAGE |
| TemplateNickName |
string |
No |
The nickname of the template or the alias of the sender. This parameter is required only when the templatetype is email. Maximum length: 30 characters. |
Lisa Gao |
| TemplateText |
string |
No |
The body content of the email. This parameter is required only when the templatetype is email. Maximum size: 1 MB. |
hello {name} |
| SmsType |
integer |
No |
The business type of the SMS template. This parameter is required only when the templatetype is SMS. Valid values:
|
0 |
| SmsContent |
string |
No |
The body content of the SMS template. This parameter is required only when the templatetype is SMS. Length: 2 to 400 characters. |
hello {name} |
| Remark |
string |
No |
The remarks or application description for the SMS template. This parameter is required only when the templatetype is SMS. Maximum length: 100 characters. |
for verification |
| FromType |
integer |
No |
The source channel through which the user connects. Default value: 1. Valid values:
|
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique request identifier. |
C5AB05E9-D3CA-582E-9538-8C6C554040F6 |
Examples
Success response
JSON format
{
"RequestId": "C5AB05E9-D3CA-582E-9538-8C6C554040F6"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.