Domain name for API request: mdp.tencentcloudapi.com.
This API is used to modify the input authentication information of a StreamPackage channel.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: ModifyStreamPackageChannelInputAuthInfo. |
Version | Yes | String | Common Params. The value used for this API: 2020-05-27. |
Region | No | String | Common Params. This parameter is not required for this API. |
Id | Yes | String | Channel ID |
Url | Yes | String | Channel input URL |
ActionType | Yes | String | Authentication configuration. Valid values: CLOSE , UPDATE CLOSE : disable authenticationUPDATE : update authentication information |
Parameter Name | Type | Description |
---|---|---|
AuthInfo | InputAuthInfo | Channel input authentication information |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://mdp.tencentcloudapi.com/?Action=ModifyStreamPackageChannelInputAuthInfo
&Id=xxx
&Url=xxx
&ActionType=UPDATE
&<Common request parameters>
{
"Response": {
"RequestId": "11-222-333",
"AuthInfo": {
"Username": "Sdsai3412y7",
"Password": "jsada54rhnj2SS"
}
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InvalidParameter.ActionType | Invalid ActionType . |
InvalidParameter.Id | Invalid Id . |
InvalidParameter.NotFound | Failed to find the channel/input/output. |
InvalidParameter.Url | Invalid Url . |
Was this page helpful?