| 
View
 

Partigi API: friendships destroy

Page history last edited by Álvaro Bautista 14 years, 10 months ago

 Go back to Partigi API Documentation

 

friendships/destroy

Makes the authenticated user to unfollow the specified user in the ID parameter.

 

URL:

http://www.partigi.com/api/v1/friendships/destroy

 

Formats:

atom, json (more about JSON responses)

 

HTTP Methods:

POST, DELETE

 

Authentication Mode:

read-write

 

Parameters:

Required:

  • id:  The ID or login of the user to be unfollowed.

 

Response:

 

If there are not errors in the request, the friendship will be destroyed successfully, and the response will be the destroyed relationship in the specified format.

 

If there were any errors the response will be a an explanation of the error in plain text.

 

Note that if there is no relationship between authenticated user and the given user, no action will be performed.

 

For more information, visit the page HTTP Response Codes and Errors

 

Go back to Partigi API Documentation

Comments (0)

You don't have permission to comment on this page.