Disables or enables an interactive messaging application.
Operation description
You can call this operation up to 50 times per second per account. Requests that exceed this limit are dropped and you may experience service interruptions.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:ModifyLiveMessageAppDisable |
update |
*Rtc
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the interactive messaging application. |
ab6b5740**** |
| Disable |
boolean |
No |
Whether to disable the interactive messaging application. |
true |
| DataCenter |
string |
No |
The data center. Must match the value specified when you called the CreateLiveMessageApp operation. Valid values: cn-shanghai and ap-southeast-1 (Singapore). |
cn-shanghai |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
6AA1AE11-EA78-1FD4-A966-6BA843073F6D |
| AppId |
string |
The ID of the interactive messaging application. |
ab6b5740**** |
| AppSign |
string |
The signature of the interactive messaging application, required by the interactive messaging SDK. |
H4sIAAAAAAAE/wBwAI//zguHB+lYCilkv7diSkk4GhHQAvMXs5tWyI+I09+uEBiB5sqa28ycJSJFmsd50Mhz8nDrvvqmti+fVaNLC5CMgLvNIy48v1aV9x74LRNFN0+Dxd2Al51xuDNkEIDaEwjqfyxscTXjSr0iQjHu2WgkpQAAAP//AQAA//+yR5XCc**** |
| Disable |
boolean |
Whether the interactive messaging application is disabled. |
true |
Examples
Success response
JSON format
{
"RequestId": "6AA1AE11-EA78-1FD4-A966-6BA84307****",
"AppId": "demo",
"AppSign": "********************",
"Disable": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InputInvalid | %s. | Illegal input parameters |
| 500 | ServerError | %s. | Unknown error, please try again later or submit a ticket for consultation. |
| 403 | NoAuth | %s. | No permission |
| 404 | ResourceNotExist | %s. | The requested resource does not exist, please check and try again |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.