Modifies the configurations of a transcoding template group or configurations of transcoding templates within the transcoding template group.
Operation description
For security purposes, you cannot add, modify, or delete transcoding templates in a locked transcoding template group. You can call the GetTranscodeTemplateGroup operation to query the template configurations and check whether the template group is locked based on the Locked response parameter. Alternatively, you can call this operation to unlock the template group before you add, modify, or delete templates.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
vod:UpdateTranscodeTemplateGroup | update | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
Name | string | No | The name of the transcoding template group.
| transcodetemplate |
TranscodeTemplateList | string | No | The configurations of the transcoding template. The value must be a JSON string. For more information about the parameter structure, see TranscodeTemplate. | [{"Video":{"Bitrate":"400","Codec":"H.264","Fps":"30"},"Audio":{"Codec":"AAC","Bitrate":"64","Definition":"SD","EncryptType":"Private","Container":{"Format":"m3u8"},"PackageType":"HLSPackage"}}] |
Locked | string | No | The lock status of the transcoding template group. Valid values:
The default value is Disabled. When you pass this parameter, the lock status of the template group is modified, but the name and configurations of the transcoding template group remain unchanged. | Disabled |
TranscodeTemplateGroupId | string | Yes | The ID of the transcoding template group. | 4c71a339fe*****52b4fa6f4527 |
Response elements
Parameter | Type | Description | Example |
object | Indicates whether the call is successful. | ||
TranscodeTemplateGroupId | string | The ID of the transcoding template group. | 34e908aa4024a*****f7821c31f93a2a |
RequestId | string | The ID of the request. | 25818875-5F78-4A*****F6-D7393642CA58 |
Examples
Success response
JSON format
{
"TranscodeTemplateGroupId": "34e908aa4024a*****f7821c31f93a2a",
"RequestId": "25818875-5F78-4A*****F6-D7393642CA58"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.