Delete Group Member Push Alias
Delete the push alias of a specified user (userId) in a specified group (groupId) that is displayed in group message push notifications.
After successful deletion, the push notifications sent by the IM service will carry the username passed during the user registration (/user/register.json) or user information modification (/user/refresh.json) of the sender.
If the recipient of the push notification has set a user-level push alias for the sender, the user-level push alias will be used in the group message push notification after deleting the group member push alias. For more details, see Set User-Level Push Alias.
Request Method
POST: https://data center domain/group/remarks/del.json
Signature Rule: All server API requests require rule verification. For details, see API Request Signature.
Rate Limit: 100 requests per second
Body Parameters
The HTTP request body data format is application/x-www-form-urlencoded, and the following HTTP form parameters are supported:
| Parameter | Type | Required | Description |
|---|---|---|---|
| userId | String | Yes | Group member user ID. |
| groupId | String | Yes | Group ID. |
Request Example
POST /group/remarks/del.json HTTP/1.1
Host: api.rong-api.com
App-Key: uwd1c0sxdlx2
Nonce: 14314
Timestamp: 1408710653491
Signature: 45beb7cc7307889a8e711219a47b7cf6a5b000e8
Content-Type: application/x-www-form-urlencoded
groupId=aaee0319&userId=qq
Response
The HTTP response body contains a JSON object with the following structure:
| Return Value | Return Type | Description |
|---|---|---|
| code | Number | Return code, 200 for success. |
Response Example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"code":200
}