All Products
Search
Document Center

ApsaraVideo Live:DeleteLiveAIProduceRules

最終更新日:Jun 17, 2024

Deletes a subtitle rule.

Usage notes

You can call this operation to delete a specified subtitle rule.

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 DeleteLiveAIProduceRules

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

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

The ID of the subtitle rule.

SuffixName String Yes et

The suffix of the subtitle rule.

Note Set the value to the name of the subtitle template.
Domain String Yes demo.aliyundoc.com

The main streaming domain.

App String Yes AppName

The name of the application to which the live stream belongs.

Response parameters

Parameter

Type

Example

Description

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

The request ID.

Examples

Sample requests

http(s)://live.aliyuncs.com/?Action=DeleteLiveAIProduceRules
&RulesId=445409ec-7eaa-461d -8f29-4bec2eb9****
&SuffixName=et
&Domain=demo.aliyundoc.com
&App=AppName
&<Common request parameters>

Sample success responses

XML format

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

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

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.
400 IncorrectSubtitleStatus.%s %s. The status of the subtitle template is abnormal.

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