Remove from blocklist
Remove one or more users from a specified user's blocklist.
Request method
POST: https://Base URL/v4/user/blocklist/remove
Rate limit: 100 requests per second
Signature required: All server API requests require signature verification. See API request signature.
Request body
The request body is in application/json format and supports the following parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
userId | String | Yes | The user ID. |
blockedUserIds | String[] | Yes | User IDs to remove from the blocklist. Maximum 20 per request. |
Request example
HTTP
POST /v4/user/blocklist/remove HTTP/1.1
Host: api.sg-light-api.com
App-Key: uwd1c0sxdlx2
Nonce: 14314
Timestamp: 1408710653491
Signature: xxxxxxxxxxxxxxxx
Content-Type: application/json
{
"userId": "jlk456j5",
"blockedUserIds": [
"jlk454"
]
}
Response
| Field | Type | Description |
|---|---|---|
code | Number | Status code. 0 indicates success. |
Response example
HTTP
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{"code":0}