• 製品
  • 価格
  • リソース
  • サポート
このページは現在英語版のみで提供されており、日本語版も近日中に提供される予定です。ご利用いただきありがとうございます。

Deleting a Robot

Feature Description

The App admin can use this API to delete the robot in the room.

API Call Description

Sample Request URL

https://console.tim.qq.com/v4/room_engine_http_srv/delete_robot?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json

Request Parameters

The following table lists only the parameters involved in modification when calling this API and their descriptions. For more details about the parameters, please refer to REST API introduction.
Parameter
Description
v4/room_engine_http_srv/delete_robot
Request API
sdkappid
The SDKAppID assigned by the IM console when creating an application
identifier
Must be an App administrator account. For more details, see app admin.
usersig
The signature generated by the App administrator account. For specific operations, see generate UserSig
random
Enter a random 32-bit unsigned integer in the range of [0, 4294967295]
contenttype
The request format is fixed as json.

Maximum Calling Frequency

200 requests per second.

Sample Request Packet

Basic form
{
"RoomId": "room-test",
"Member_Account": "user1"
}

Request Packet Fields

Field
Type
Attribute
Description
RoomId
String
Required
room ID
Member_Account
String
Required
robot ID

Sample Response Packet

Basic form
{
"ErrorCode": 0,
"ErrorInfo": "",
"ActionStatus": "OK",
"RequestId": "Id-52f049ba12d741b7a84959700acdb1d5-O-Seq-56287"
}

Response Packet Fields

Field
Type
Description
ActionStatus
String
Request processing result. OK: processing successful; FAIL: processing failed.
ErrorCode
Integer
Error code: 0 indicates success, non-0 indicates failure
ErrorInfo
String
Error Message
RequestId
String
Unique request ID, returned for each request. RequestId is required for troubleshooting.

Error Code Description

Unless a network error (such as 502) occurs, this API's HTTP return code is 200. The actual error code and error information are indicated by ErrorCode and ErrorInfo in the response payload.
Common error codes (60000 to 79999), please refer to the Error Code document.
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.
100004
The room does not exist, or may have existed but has already been dismissed.
100005
non-room member
100006
Insufficient operation permissions