https://xxxxxx/v4/recentcontact/del_contact_group?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json
Parameter | Description |
xxxxxx | Domain name corresponding to the country/region where your SDKAppID is located. China: console.tim.qq.comSingapore: adminapisgp.im.qcloud.comSeoul: adminapikr.im.qcloud.comTokyo: adminapijpn.im.qcloud.comFrankfurt: adminapiger.im.qcloud.comSilicon Valley: adminapiusa.im.qcloud.comJakarta: adminapiidn.im.qcloud.com |
v4/recentcontact/del_contact_group | Request API. |
sdkappid | SDKAppID assigned by the Chat console when an app is created. |
identifier | |
usersig | |
random | A random 32-bit unsigned integer ranging from 0 to 4294967295. |
contenttype | Request format, which should always be json. |
{"From_Account": "user_0001","GroupName": ["group_0001" // only one conversation group can be deleted at a time.]}
Field | Type | Required | Description |
From_Account | String | Yes | Fill in UserID, request to delete conversation group for this user. |
GroupName | Array | Yes | List of conversation groups to be deleted. Currently, only one conversation group can be deleted at a time. |
{"GroupItem": [{"GroupName": "group_0001","GroupId": 1}],"ActionStatus": "OK","ErrorCode": 0,"ErrorInfo": ""}
Field | Type | Description |
GroupItem | Array | Group object to be deleted. |
GroupName | String | Name of the conversation group to be deleted. |
GroupId | Integer | ID of the conversation group to be deleted. |
ActionStatus | String | Request result. OK: Successful; FAIL: Failed. |
ErrorCode | Integer | Error code. 0: Successful; other values: Failed. |
ErrorInfo | String | Error information. |
ErrorCode, and ErrorInfo.Error Code | Description |
50001 | The requested UserID has not been imported to Chat. Please import the UserID first. |
50002 | Incorrect request parameter. Check your request according to the error description. |
50003 | The request requires app admin permissions. |
50004 | Internal server error. Please try again. |
50005 | Network timeout. Try again later. |
51009 | The specified conversation group was not found. Please verify that the group name is correct. |
51011 | The conversation group name contains more than 64 bytes. |
51013 | The current version does not support conversation grouping. To use this feature, please upgrade to the Pro edition, Pro edition Plus, or Enterprise edition. |
フィードバック