Skip to main content

Remove user-specified group alias

This API removes a user-specified group alias, which takes effect immediately. After removal, push notifications related to this group will display the group name instead of the alias in the title.

Enabling the Service​

Before using this feature, you must enable the profile hosting service by submitting a ticket.

Request method​

POST: https://data center domain/entrust/group/remarkname/delete.json

Rate limit: 100 requests per second

Signature rules: All server API requests require signature verification. See API request signature.

Request parameters​

The HTTP request body uses application/x-www-form-urlencoded format and supports the following form parameters:

ParameterTypeRequiredDescription
groupIdStringYesGroup ID
userIdStringYesGroup member ID

Request example​

POST /entrust/group/remarkname/delete.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

userId=123&groupId=456

Response​

The HTTP response body contains a JSON object with the following structure:

FieldTypeDescription
codeNumberStatus code. 200 indicates success.

Response example​

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{
"code": 200
}