Modifies some properties of a template.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TemplateCode |
string |
Yes |
The template code. |
929938*** |
| Language |
string |
Yes |
The template language. For more information about language codes, see Language codes. |
zh_CN |
| TemplateType |
string |
Yes |
The templatetype.
|
|
| CustSpaceId |
string |
Yes |
The space ID of the ISV sub-customer or the instance ID of the direct customer. |
cams-idk*** |
| CategoryChangePaused |
boolean |
No |
Specifies whether to block sending after the Utility template category is changed. |
false |
| AllowSend |
boolean |
No |
Specifies whether sending is allowed. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
The details about the access denial. |
None |
| Message |
string |
The error message. |
None |
| RequestId |
string |
The request ID. |
399s88-*** |
| Model |
object |
The returned result. |
true |
| Code |
string |
The request status code.
|
OK |
| Success |
boolean |
Indicates whether the call was successful. Valid values:
|
false |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "None",
"Message": "None",
"RequestId": "399s88-***\n",
"Model": true,
"Code": "OK",
"Success": false
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.