Skip to main content

user_clear_all_msg

Brief Description

  • Delete all messages of a user from the server, without affecting the messages already synced to the client.

Request Method

  • post

Request URL

  • http://x.x.x.x:10002/msg/user_clear_all_msg
Header NameExample ValueOptionalTypeDescription
operationID1646445464564NostringoperationID for global link tracking
tokeneyJhbxxxx3XsNostringAdmin token

Request Parameter Example

{
"userID": "3034068043"
}
Field NameOptionalTypeDescription
userIDNostringUser ID

Successful Response Example

{
"errCode": 0,
"errMsg": "",
"errDlt": ""
}

Successful Response Parameter Description

Parameter NameTypeDescription
errCodeintError code, 0 indicates success
errMsgstringBrief error information, empty if no error
errDlterrDltDetailed error information
dataobjectGeneral data object, see structure below

Failed Response Example

{
"errCode": 1004,
"errMsg": "RecordNotFoundError",
"errDlt": ": [1004]RecordNotFoundError"
}

Failed Response Parameter Description

Parameter NameTypeDescription
errCodeintError code, see global error code documentation for details
errMsgstringBrief error information
errDlterrDltDetailed error information