DeleteLiveSnapshotRule

Last updated: 2019-06-25 22:24:57

## 1. API Description

API request domain name: live.tencentcloudapi.com.

This API deletes the screencapture rule.

Default API request frequency limit: 200 times/second.

2. Input Parameters

The following list of request parameters lists only the API request parameters and some common parameters. For the complete list of common parameters, see Common Request Parameters.

Parameter name Required Type Description
Action Yes String Common parameter; the value for this API: DeleteLiveSnapshotRule
Version Yes String Common parameter; the value for this API: 2018-08-01
Region No String Common parameter; not passed in for this API
DomainName Yes String Push domain name
AppName Yes String Push path
StreamName Yes String Stream name

3. Output Parameters

Parameter name Type Description
RequestId String The unique request ID which is returned for each request The RequestId for the current request needs to be provided when troubleshooting

4. Sample

Request Sample

Input Sample Code

https://live.tencentcloudapi.com/?Action=DeleteLiveSnapshotRule
&DomainName=5000.livepush.myqcloud.com
&AppName=live
&StreamName=stream1
&TemplateId=1000
&<Common request parameter>

Output Sample Code

{
  "Response": {
    "RequestId": "3c140219-cfe9-470e-b241-907877d6fb03"
  }
}

5. Developer Resources

API Explorer

This tool provides various capabilities such as online call, signature verification, SDK code generation and quick API retrieval that significantly reduce the difficulty of using cloud APIs.

SDK

Cloud API 3.0 comes with a set of complementary development toolkits (SDKs) that support multiple programming languages and make it easier to call the API.

TCCLI

6. Error Codes

Only the error codes related to the API business logic are listed below. For other error codes, see Common Error Codes.

Error Code Description
InternalError Internal error
InternalError.ArgsNotMatch For the API that is used for adding transcoding template
InternalError.ConfInUsed The template is in use.
InternalError.ConfNotFound The template does not exist.
InternalError.ConfOutLimit The number of templates exceeds the display.
InternalError.InvalidInput Parameter check failed.
InternalError.NotFound The record does not exist.
InternalError.RuleAlreadyExist The rule has already been configured.
InternalError.RuleInUsing The rule is in use.
InternalError.RuleNotFound The rule does not exist.
InternalError.RuleOutLimit The rule exceeds the limit.
InvalidParameter Parameter error
InvalidParameterValue Incorrect parameter value
MissingParameter Missing parameter