All Products
Search
Document Center

:DeleteLiveAISubtitle

最終更新日:Jun 17, 2024

Deletes a specified subtitle template.

Usage notes

You can call this operation to delete a specified subtitle template for a live stream.

Important

The live subtitles feature is in invitational preview. You can add up to 300 subtitle templates.

QPS limit

You can call this operation up to 60 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation. For more information, see QPS limits.

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

DeleteLiveAISubtitle

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

SubtitleId

String

Yes

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

The ID of the subtitle template.

SubtitleName

String

No

sub01

The name of the subtitle template. The name can contain only digits, letters, and hyphens (-). The name cannot start with a hyphen.

Response parameters

Parameter

Type

Example

Description

RequestId

String

5c6a2a0df228-4a64-af62-20e91b96****

The request ID.

Examples

Sample requests

http(s)://live.aliyuncs.com/?Action=DeleteLiveAISubtitle
&SubtitleId=445409ec-7eaa-461d-8f29-4bec2eb9****
&SubtitleName=sub01
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DeleteLiveAISubtitleResponse>
    <RequestId>5c6a2a0df228-4a64-af62-20e91b96****</RequestId>
</DeleteLiveAISubtitleResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "5c6a2a0df228-4a64-af62-20e91b96****"
}

Error codes

HTTP status code

Error code

Error message

Description

400

MissingParameter

%s.

One or more required parameters are missing.

400

InvalidParameter

%s.

One or more parameters are invalid.

For a list of error codes, see Service error codes.