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
Header Name | Example Value | Optional | Type | Description |
---|---|---|---|---|
operationID | 1646445464564 | No | string | operationID for global link tracking |
token | eyJhbxxxx3Xs | No | string | Admin token |
Request Parameter Example
{
"userID": "3034068043"
}
Field Name | Optional | Type | Description |
---|---|---|---|
userID | No | string | User ID |
Successful Response Example
{
"errCode": 0,
"errMsg": "",
"errDlt": ""
}
Successful Response Parameter Description
Parameter Name | Type | Description |
---|---|---|
errCode | int | Error code, 0 indicates success |
errMsg | string | Brief error information, empty if no error |
errDlt | errDlt | Detailed error information |
data | object | General data object, see structure below |
Failed Response Example
{
"errCode": 1004,
"errMsg": "RecordNotFoundError",
"errDlt": ": [1004]RecordNotFoundError"
}
Failed Response Parameter Description
Parameter Name | Type | Description |
---|---|---|
errCode | int | Error code, see global error code documentation for details |
errMsg | string | Brief error information |
errDlt | errDlt | Detailed error information |