user_block
- Home
- Social Graph
- SvcFriendship
- user_block
user_block
Adds a user to another user’s blocked user list.
Parameters
Name | Description |
userID required | User ID of the user performing the action. |
friendID required | User ID of the friend who should be accepted, blocked, etc. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/svcFriendship?action=userBlock&userID=229751571&friendID=229829209&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 |
{ "service":"svcFriendship", "action":"userBlock", "item":{ "1":{ "userID":229751571, "friendID":229829209 } }, "code":1, "message":"User Succesfully Blocked" } |
Service Information
Service | svcFriendship |
Method | user_block |
Type | REST |
Response Types | JSON, XML |