drop_friendship
- Home
- Social Graph
- SvcFriendship
- drop_friendship
drop_friendship
Removes a friendship between two users.
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=dropFriend&userID=229751571&friendID=229829209&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
{ "service":"svcFriendship", "action":"dropFriend", "total":1, "page":1, "per_page":1, "item":{ "1":{ "userID":229751571, "friendID":229829209 } }, "code":1, "message":"Friendship Successfully Removed" } |
Service Information
Service | svcFriendship |
Method | drop_friendship |
Type | REST |
Response Types | JSON, XML |