Removes episodes from an episode list.

Usage note

Both ProgramId and ProgramItemIds are required in the request. They are included in the response when you call the AddPlaylistItems operation.

QPS limit

A single user can perform a maximum of 10 queries per second (QPS). Throttling is triggered when the number of calls per second exceeds the QPS limit. The throttling may affect your business. Thus, we recommend that you observe the QPS limit on this operation. For more information about what a single user means and the QPS details, see QPS limit on an API operation in ApsaraVideo Live.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeletePlaylistItems

The operation that you want to perform. Set the value to

DeletePlaylistItems.

ProgramId String Yes 445409ec-7eaa-461d-8f29-4bec2eb9****

The ID of the episode list from which you want to remove the episodes.

ProgramItemIds String Yes ["c09f3d63-eacf-4fbf-bd48-a07a6ba7****","c10f3d63-eacf-4fbf-bd48-a07a6ba7****"]

The IDs of the episodes that you want to remove.

Response parameters

Parameter Type Example Description
ProgramId String 445409ec-7eaa-461d-8f29-4bec2eb9****

The ID of the episode list from which the episodes were removed.

RequestId String 5c6a2a0d-f228-4a64-af62-20e91b96****

The ID of the request.

Examples

Sample requests

http(s)://live.aliyuncs.com/?Action=DeletePlaylistItems
&ProgramId=445409ec-7eaa-461d-8f29-4bec2eb9****
&ProgramItemIds=["c09f3d63-eacf-4fbf-bd48-a07a6ba7****","c10f3d63-eacf-4fbf-bd48-a07a6ba7****"]
&<Common request parameters>

Sample success responses

XML format

<DeletePlaylistItemsResponse>
      <RequestId>5c6a2a0d-f228-4a64-af62-20e91b96****</RequestId>
      <ProgramId>445409ec-7eaa-461d-8f29-4bec2eb9****</ProgramId>
</DeletePlaylistItemsResponse>

JSON format

{
    "RequestId":"5c6a2a0d-f228-4a64-af62-20e91b96****",
    "ProgramId":"445409ec-7eaa-461d-8f29-4bec2eb9****"
}

Error codes

For a list of error codes, visit the API Error Center.