Skip to main content

remove_black

Description

  • Remove blackUserID from ownerUserID's blacklist, restoring their relationship to normal.

Request Method

  • post

Request URL

  • {API_ADDRESS}/friend/remove_black
Header NameExample ValueOptionalTypeDescription
operationID1646445464564RequiredstringUsed for global traceability, recommended to use a timestamp for uniqueness in each request.
tokeneyJhbxxxx3XsRequiredstringAdmin token

Request Body Example

{
"ownerUserID": "11111111",
"blackUserID": "11111113"
}
Field NameOptionalTypeDescription
ownerUserIDRequiredstringUser removing from blacklist
blackUserIDRequiredstringBlacklisted user ID to remove

Success Response Example

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

Success Response Parameters

Parameter NameTypeDescription
errCodeintError code, 0 means success
errMsgstringBrief error message, empty if successful
errDltstringDetailed error message, empty if successful

Failure Response Example

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

Failure Response Parameters

Parameter NameTypeDescription
errCodeintError code, refer to the global error code documentation
errMsgstringBrief error message
errDltstringDetailed error message