Contents:
## 1. API Description
API request domain name: live.tencentcloudapi.com.
This API modifies the LVB upstream authentication key.
Default API request rate limit: 200 requests/second.
2. Request Parameters
The following parameters are required for requesting this API, including action-specific parameters and common parameters. For more information about common parameters for all requests, see Common Request Parameters.
Parameter name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common parameter; the name of this API: ModifyLivePushAuthKey |
Version | Yes | String | Common parameter; the version of this API: 2018-08-01 |
Region | No | String | Common parameter; optional for this API |
DomainName | Yes | String | Push domain name |
Enable | No | Integer | Whether to enable; 0: disabled; 1: enabled |
MasterAuthKey | No | String | Master authentication key |
BackupAuthKey | No | String | Backup authentication key |
AuthDelta | No | Integer | Validity period in seconds |
3. Return Parameters
Parameter name | Type | Description |
---|---|---|
RequestId | String | The ID of the request. Each request returns a unique ID. The RequestId is required to troubleshoot issues. |
4. Sample
Request Sample
Input Sample Code
https://live.tencentcloudapi.com/?Action=ModifyLivePushAuthKey
&DomainName=5000.livepush.myqcloud.com
&Enable=0
&MasterAuthKey=xxxx
&BackupAuthKey=xxx
&AuthDelta=300
&<Common request parameter>
Output Sample Code
{
"Response": {
"RequestId": "3c140219-cfe9-470e-b241-907877d6fb03"
}
}
5. Developer Resources
API Explorer
API Explorer is a tool that provides ease of use in requesting APIs, authenticating identities, generating SDK and exploring APIs in Tencent Cloud environment.
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.
- Tencent Cloud SDK 3.0 for Python
- Tencent Cloud SDK 3.0 for Java
- Tencent Cloud SDK 3.0 for PHP
- Tencent Cloud SDK 3.0 for Go
- Tencent Cloud SDK 3.0 for NodeJS
- Tencent Cloud SDK 3.0 for .NET
TCCLI
6. Error Codes
The following error codes are API business logic-related. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InternalError | Internal error |
InternalError.ConnectDbError | DB connection error. |
InternalError.DBError | DB execution error. |
InternalError.UpstreamDomainNoRecord | The upstream domain name does not exist. |
InvalidParameter | Parameter error |
InvalidParameterValue | Incorrect parameter value |
MissingParameter | Missing parameter |