Group Type ID | Whether This RESTful API Is Supported |
Private | Not supported, same as Work (Work Friend Group) in the new version |
Public | Not supported |
ChatRoom | Not supported, same as Meeting (Temporary Meeting Group) in the new version |
AVChatRoom | Not supported |
Community | Supported |
https://xxxxxx/v4/group_open_http_svc/delete_permission_group_member?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json
Parameter | Description |
xxxxxx | The dedicated domain name for the country/region where your SDKAppID is located: China: console.tim.qq.com Singapore: adminapisgp.im.qcloud.com Seoul: adminapikr.im.qcloud.com Frankfurt: adminapiger.im.qcloud.com Silicon Valley: adminapiusa.im.qcloud.com Jakarta: adminapiidn.im.qcloud.com |
v4/group_open_http_svc/delete_permission_group_member | Request API |
sdkappid | SDKAppID assigned by the Chat console when an application is created |
identifier | |
usersig | |
random | A random 32-bit unsigned integer ranging from 0 to 4294967295 |
contenttype | Request format fixed value: json |
{"GroupId": "@TGS#_@TGS#cQVLVHIM62CJ", // Group to operate on (required)"PermissionGroupId":"@PMG#_@PMG#cDR",// Permission group to operate on (required)"MemberList": [ // Up to 100 members can be deleted at once.{"Member_Account": "tommy" // ID of the permission group member to be deleted (required)},{"Member_Account": "jared"}]}
Field | Type | Attribute | Description |
GroupId | String | Required | ID of the group to operate on |
PermissionGroupId | String | Required | ID of the permission group to operate on |
MemberList | Array | Required | Array of permission group members to be deleted |
Member_Account | String | Required | UserID of the permission group member to be deleted |
{"ActionStatus": "OK","ErrorInfo": "","ErrorCode": 0,"MemberList": [{"Member_Account": "tommy","Result": 0 // Deletion result: 0 indicates success. For other results, refer to the error code description.},{"Member_Account": "jared","Result": 10013}]}
Field | Type | Description |
ActionStatus | String | Result of the request processing OK: Indicates successful processing. FAIL: Indicates failure. |
ErrorCode | Integer | Error code 0: Indicates success. Non-zero: Indicates failure. |
ErrorInfo | String | Error message |
MemberList | Array | Returned result of deleted group members |
Member_Account | String | Returned group member UserID |
Result | Integer | Addition result: 0: success For other results, refer to the error codes. |
Error Code | Description |
10002 | Internal server error. Try again. |
10003 | Illegal request command word |
10004 | Invalid parameter. Check if the request is correct based on the error description. |
10007 | Insufficient operation permissions, such as lacking the permission to delete permission group members |
10010 | The group does not exist, or it existed in the past but has now been dissolved. |
10015 | Invalid group ID. Check if the group ID is filled in correctly. |
10016 | The developer backend has denied this operation through third-party callback. |
10019 | The requested UserID does not exist. Check if all Member_Accounts in the MemberList are correct. |
110006 | The permission group does not exist, or it existed in the past but has now been dissolved. |
110008 | Invalid permission group ID. Check if the permission group ID is filled in correctly. |
문제 해결에 도움이 되었나요?