Deletes (recalls) a message from an interactive messaging group.
Operation description
This operation supports up to 50 requests 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.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DeleteLiveMessageGroupMessage |
delete |
*Rtc
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The application ID. |
demo |
| GroupId |
string |
Yes |
The group ID. |
grouptest |
| MessageId |
string |
Yes |
The ID of the message to delete. Set this parameter to the MsgTid value specified when calling the SendLiveMessageGroup operation. The ID must be up to 64 bytes in length and can contain letters and digits. |
a74a8fbd3cfe4b2daa8517e4e3****** |
| DataCenter |
string |
No |
The data center. Must match the data center specified when calling the CreateLiveMessageApp operation to create the interactive messaging application. Valid values: cn-shanghai and ap-southeast-1 (Singapore). |
cn-shanghai |
| DeleterId |
string |
No |
The ID of the user who deletes the message. Must be up to 64 bytes in length and can contain letters and digits. |
169830**** |
| DeleterInfo |
string |
No |
Additional information about the user who performs the deletion. The value can be up to 512 bytes in length. |
testname |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
B95BE680-5A6A-1CAD-8AB1-09DFF5D6**** |
| GroupId |
string |
The group ID. |
grouptest |
| MessageId |
string |
The ID of the deleted or nonexistent message. |
a74a8fbd3cfe4b2daa8517e4e3****** |
Examples
Success response
JSON format
{
"RequestId": "B95BE680-5A6A-1CAD-8AB1-09DFF5D6****",
"GroupId": "grouptest",
"MessageId": "a74a8fbd3cfe4b2daa8517e4e3******"
}
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.