All Products
Search
Document Center

Intelligent Media Services:UpdateLivePackageOriginEndpoint

Last Updated:Dec 23, 2025

Updates the origin endpoint settings including the protocol, time shifting, and access control settings.

Operation description

Usage notes

You can call this operation to modify the origin protocol, set the number of days that time-shifted content is available, define playlist names, and configure the IP address blacklist and whitelist, allowing for fine-grained control over streaming media distribution. Some parameters are required. You must configure IpWhitelist, AuthorizationCode, or both.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ice:UpdateLivePackageOriginEndpointupdate
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
GroupNamestringYes

The channel group name.

channel-group-1
ChannelNamestringYes

The channel name.

channel-1
EndpointNamestringYes

The origin endpoint name. It can contain letters, digits, hyphens (-), and underscores (_). The name must be 1 to 200 characters in length. Format: [A-Za-z0-9_-]+

endpoint-1
ProtocolstringYes

The protocol. Only HLS is supported.

HLS
ManifestNamestringNo

The playlist name. Default value: manifest.

manifest
DescriptionstringNo

The endpoint description.

TimeshiftVisionintegerNo

The number of days that time-shifted content is available. Maximum value: 30.

5
AuthorizationCodestringNo

The authorization code. It can be up to 200 characters in length. You must configure AuthorizationCode, IpWhitelist, or both. Format: [A-Za-z0-9-_.]+

Abc123Def456
IpWhiteliststringNo

The IP address whitelist. It supports subnet masks. 0.0.0.0/0 is not allowed. It can be up to 1,000 characters in length. Separate multiple IP addresses with commas (,). You must configure AuthorizationCode, IpWhitelist, or both.

192.168.1.0/24,10.0.0.1
IpBlackliststringNo

The IP address blacklist. It supports subnet masks. Separate multiple IP addresses with commas (,).

103.0.0.0/8

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

LivePackageOriginEndpointobject

The information about the origin endpoint.

AuthorizationCodestring

The authorization code.

Abc123Def456
ChannelNamestring

The channel name.

channel-1
CreateTimestring

The time when the endpoint was created.

2023-04-01T12:00:00Z
Descriptionstring

The endpoint description.

EndpointNamestring

The endpoint name.

endpoint-1
EndpointUrlstring

The endpoint URL.

https://xxx.packagepull-abcxxx.ap-southeast-1.aliyuncsiceintl.com/v1/group01/1/ch01/manifest
GroupNamestring

The channel group name.

channel-group-1
IpBlackliststring

The IP address blacklist. It supports subnet masks. Multiple IP addresses are separated by commas (,).

10.21.222.1/32,192.168.100.0/24
IpWhiteliststring

The IP address whitelist. It supports subnet masks. Multiple IP addresses are separated by commas (,).

192.168.1.0/24,10.0.0.1/24
LastModifiedstring

The time when the endpoint was last modified.

2023-04-01T12:00:00Z
ManifestNamestring

The playlist name. Default value: manifest.

manifest
Protocolstring

The protocol. Only HLS is supported.

HLS
TimeshiftVisioninteger

The number of days that time-shifted content is available. Maximum value: 30.

5
RequestIdstring

The request ID.

b1f8d6c4-a123-4cd5-9e88-d0819e3bfa70

Examples

Sample success responses

JSONformat

{
  "LivePackageOriginEndpoint": {
    "AuthorizationCode": "Abc123Def456",
    "ChannelName": "channel-1",
    "CreateTime": "2023-04-01T12:00:00Z",
    "Description": "",
    "EndpointName": "endpoint-1",
    "EndpointUrl": "https://xxx.packagepull-abcxxx.ap-southeast-1.aliyuncsiceintl.com/v1/group01/1/ch01/manifest",
    "GroupName": "channel-group-1",
    "IpBlacklist": "10.21.222.1/32,192.168.100.0/24",
    "IpWhitelist": "192.168.1.0/24,10.0.0.1/24",
    "LastModified": "2023-04-01T12:00:00Z",
    "ManifestName": "manifest",
    "Protocol": "HLS",
    "TimeshiftVision": 5
  },
  "RequestId": "b1f8d6c4-a123-4cd5-9e88-d0819e3bfa70"
}

Error codes

For a list of error codes, visit the Service error codes.