tencent cloud

All product documents
Tencent Real-Time Communication
Deleting Robot
Last updated: 2025-04-09 17:46:31
Deleting Robot
Last updated: 2025-04-09 17:46:31

Feature Description

App admins can use this API to delete robots in the specified room.

API Call Description

Sample Request URL

https://xxxxxx/v4/live_engine_http_srv/del_robot?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json

Request Parameters

The following table only lists the parameters involved in modification when calling this API and their descriptions. For more details about the parameters, please see RESTful API Overview.
Parameters
Description
xxxxxx
Domain name corresponding to the country/region where your SDKAppID is located:
China: console.tim.qq.com
Singapore: adminapisgp.im.qcloud.com
US: adminapiusa.im.qcloud.com
v4/live_engine_http_srv/del_robot
Request API
sdkappid
Create an assigned SDKAppID for the Live application
identifier
Must be an App administrator account. For more details, see App Admin
usersig
Generated signature of the App administrator account. For specific operations, see Generating UserSig.
random
Please enter a random 32-bit unsigned integer in the range of [0,4294967295].
contenttype
The request format has a fixed value of `json`.

Maximum Calling Frequency

100 times/second.

Request Packet

Basic form
{
"RoomId":"mix1",
"RobotList_Account":["brennanli"]
}

Request Packet Fields

Field
Type
Required
Description
RoomId
String
Required
room ID, up to 48 bytes
RobotList_Account
Array
Required
Robot list Bot account, i.e. user UserID, must be an imported account

Response Package Body

Basic form
{
"ActionStatus": "OK",
"ErrorInfo": "",
"ErrorCode": 0,
"RequestId": "Id-8c9858f01e954611ae2d4c1b1ed7d583-O-Seq-52720"
}

Response Packet Fields

Field
Type
Description
ActionStatus
String
Request processing result. OK indicates successful processing; FAIL indicates failure
ErrorCode
Integer
Error code, 0 indicates success, non-zero indicates failure
ErrorInfo
String
Error message
RequestId
String
Unique request ID. It is returned for each request. RequestId is required for locating a problem

Error Code Description

Unless a network error (such as 502 error) occurs, the HTTP return code of this API is 200. The actual error code and error information are indicated by ErrorCode and ErrorInfo in the response packet body.
For common error codes (60000 to 79999), see the Error Code document.
The private error codes of this API are as follows:
Error Code
Description
100001
Internal server error, please retry
100002
Invalid parameter. Check whether the request is correct according to the error description
100006
This room type needs to be a Live room type
100004
The room does not exist or is dissolved
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support