Skip to main content

remove_black

Brief Description

  • Remove blackUserID from the blacklist of ownerUserID, restoring the relationship to normal.

Request Method

  • post

Request URL

  • http://x.x.x.x:10002/friend/remove_black
Header NameExample ValueOptionalTypeDescription
operationID1646445464564RequiredstringoperationID is used for global link tracking
tokeneyJhbxxxx3XsRequiredstringAdministrator token

Request Sample Parameters

{
"ownerUserID": "11111111",
"blackUserID": "11111113"
}
Field NameOptionalTypeDescription
ownerUserIDRequiredstringRemove the blacklist for this user
blackUserIDRequiredstringBlacklisted user ID to be removed

Successful Return Sample

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

Successful Return Sample Explanation

Parameter NameTypeDescription
errCodeintError code, 0 indicates success
errMsgstringBrief error message, empty when no error
errDlterrDltDetailed error message, empty when no error
dataobjectGeneral data object, the specific structure is shown below

Failed Return Sample

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

Failed Return Sample Explanation

Parameter NameTypeDescription
errCodeintError code, refer to the global error code document
errMsgstringBrief error message
errDlterrDltDetailed error message